Thursday, October 30, 2008

Problem with encoding when upgrading to 1.1.20

Hello,

The application im developing has just upgraded from CakePHP 1.1.11 to
1.1.20 and that somehow broke the encoding of the data we show the
user from the database. When i changed back to 1.1.11 (changing the
cake folder) it all worked as intended again.

Im trying to use UTF-8 but the page is rendered in ISO-8859-1.

The database encoding is UTF-8 and i have put the right meta tag in
the main thtml file and allso put in 'encoding' => 'UTF8' in the
connection to the database. We are using Postgresql and all the tips i
so far have found on fixing this problem seems to be with users using
MySQL so im not realy sure if the things i have tried to do are able
to fix my problem.

Is there anyone who knows where i ought to look to fix this problem,
or what might be causing it? It seems that it is something in the core
library that has changed between these two builds that are causing it.

Best regards
Sjur

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: