[Catalyst] utf8 in mysql

Pedro Melo melo at simplicidade.org
Wed Nov 28 17:49:33 GMT 2007


On Nov 28, 2007, at 4:32 PM, Angel Kolev wrote:

> When i use "mysql_enable_utf8 => 1" the page in my browser is  
> blank. It works for me only without this option.
> Thank you for the link.

hmms.. Going out on a limb here, but are you using  
DBIx::Class::UTF8Columns? I *think* mysql_enable_utf8 => 1 is  
incompatible with DBIx::Class::UTF8Columns, you would be doubly- 
encoding everything.

With old projects, before mysql_enable_utf8 was supported, I used the  
set names on on_connect and the UTF8Columns plugin and everything  
worked ok, so maybe that is what you have.

Best regards,
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org

More information about the Catalyst mailing list