Hi,
Using firebug for firefox, I was able to pin point the problem to the
fact that by default, the request header returned to the ajax call made
is UTF-8, so I've just added the following code to my custom
app_controller.php and everything is fine now
function beforeRender(){
....
if(!headers_sent()){
header('Content-type: text/html;charset=ISO-8859-1');
}
.....
}
So my l10n is displaying perfectly!
Just in case, is this method of solving this problem the best or there's
a more elegant method?
Thanks!
& Cheers
Femi T.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---