Well maybe you might not need to encode your characters with UTF8, I
had the same problem with characters, for example when I wanted to
output this:
echo "Año, acción" in cakephp the output was An?, acci?n.
Then I've made a change in my character set to ISO-8859-1
Just add this two lines at the beggining of you layouts (default.thtml,
ajax.thml...)
<?php
mb_http_output('ISO-8859-1');
ob_start('mb_output_handler');
?>
It worked fine for data in mySQL and printing, the only case when I
have problems with the encoding is when I use the ajax autocomplete.
That it appears again the srtange characters. That might work.
If that character set doesn't work try one from the
http://php.net/mbstring
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---