if you have Cake 1.2, add 'encoding' => 'utf8' in conf/database.php
if you have Cake 1.1, call query("SET NAME 'UTF8' ") just after
connexion (don't remember if in database.php or app_model.php)On 31 août, 18:36, Mech7 <[EMAIL PROTECTED]> wrote: > Ah that is great google can't handle them either :D here is what it > looks with me: > > http://img124.imageshack.us/img124/2272/characterhellko6.gif > > On Aug 31, 6:30 pm, Mech7 <[EMAIL PROTECTED]> wrote: > > > Does anybody know how to save utf8 charachters properly in Cake.. when > > i save special characters they get saved very weird in mysql for > > exmaple: ???? becomes öööö > > > The database table is set to utf8_general_ci and in the html it is set > > to utf8 too.. <meta http-equiv="Content-Type" content="text/html; > > charset=utf-8" /> > > > The problem seems to come when saving to mysql, does anybody know how > > i can fix this ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
