I have an app that uses the PEAR JSON module to encode database output
from Cake. Overall it works fine, but the JSON library is choking on
non-ASCII characters (things with accents and such). From the research
I've done so far, I think it may be because mysql_client_encoding is
set to latin1 and the JSON library expects UTF8. The database itself
has most of its tables encoded in UTF8, but I am unsure of how to
change the encoding used by the PHP MySQL connection. I am on a shared
host, so I don't think access to the core MySQL config files is an
option.

Anyway, this is obviously turning my international users off, and my
app is just gaining popularity...any help would be greatly appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to