31 July, 2009 (12:04) | PHP, Web Development, iso 8859-1, utf-8 | By: Pablo Viquez
To continue with the previous post. Problem: Function json_encode does not support ISO-8859-1 encoded data. One solution that I did, in order to preserve the character set was to encode the data before using the json_encode function to use just A-Z, a-z and 0-9 characters, instead of sending text with accents or symbols. One encoding [...]
Tags: ajax, i18n, iso 8859-1, jquery, json, json_encode, PHP, utf-8
Comments: 7
17 July, 2009 (13:51) | PHP, Web Development, debug, iso 8859-1, utf-8 | By: Pablo Viquez
Download the demo files While I was looking at some AJAX calls, I started to have a problem, for some reason, when I tried to query a JSON service I did using JQuery, the result was null for some fields. Going a little deeper, I notice that the records from the DB were OK, and [...]
Tags: ajax, i18n, iso 8859-1, jquery, json, json_encode, PHP, utf-8
Comments: 2
23 April, 2009 (15:08) | General | By: Pablo Viquez
APC Rocks! Implemente unas clases para internalización y localización usando Zend Framework y el core que basicamente cargaba y parseaba los diccionarios en XML le hice cache con APC para poder tener una unica instancia por servidor del mismo “objeto” y funciono muy bien. Espero poner la arquitectura que se uso pronto por aqui.
Tags: APC, i18n, l10n, PHP, utf-8, Zend Framework
Comments: -
4 September, 2008 (17:01) | PHP, Web Development | By: Pablo Viquez
Hace unos dias tuve un problema tratando de desplegar tildes en una aplicación, el problema surgió cuando quise hacer que toda la aplicación fuera UTF-8. Es decir, que la DB hablara UTF-8 y las paginas desplegaran UTF-8: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> Ahora, cuando hice el despliegue en la página, en vez de ver caracteres [...]
Tags: i18n, iso 8859-1, l10n, PHP, utf-8
Comments: 9