There is also an application-global encoding setting in config/
core.php

On Nov 2, 8:33 pm, Dave J <[EMAIL PROTECTED]> wrote:
> Not sure why it would show up as a question mark when you generate the
> form with the helper, however, when connecting to the database, make
> sure you set the encoding as well.
>
> var $default = array('driver' => 'mysql',
>                         'host' => 'localhost',
>                         'login' => 'username',
>                         'password' => 'pass',
>                         'database' => 'database_name',
>                         'encoding' => 'utf8'
>                         );
>
> On Nov 2, 2:32 pm, bartvh <[EMAIL PROTECTED]> wrote:
>
> > My MySQL5 database is encoded in utf-8, and the page is as well (which
> > is declared in the html meta tags), however when I generate a select
> > field with the form helper, an uncommon character (é to be precise)
> > shows up as a question-diamond in firefox. if i manually set firefox
> > to use western (iso-8859-1) the character shows up fine.
>
> > what goes wrong here?
> > thanks
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to