Hi,
I have started putting a project onto a rented "production server"
running a pretty standard Ubuntu installation AFAIK.
I have been able to fix some initial problems with charsets but one
thing I just can seem to figure out.

On my dev system
$this->params['form']['hello_text'] // in MySQL = hallå

On production system
$this->params['form']['hello_text'] // inMySQL = hallå
utf8_decode( $this->params['form']['hello_text'] ) // inMySQL = hallå

Looks like the text gets encoded to utf8 before being put into the
database. Problem is that the text is already utf8 so I get these
nasty characters.

Does anyone know what triggers Cake or PHP to encode the text before
sending it to MySQL?

Any pointer in the right direction would be great. thanks.

Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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