[Catalyst] utf8 in mysql
Jonathan Rockway
jon at jrock.us
Wed Nov 28 17:54:07 GMT 2007
On Wed, 2007-11-28 at 17:49 +0000, Pedro Melo wrote:
> Hi,
>
> 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.
Incorrect.
>
> 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.
It wasn't actually working, it just appeared to.
The OP is getting a blank screen because he hasn't loaded
Catalyst::Plugin::Unicode into his app yet.
Regards,
Jonathan Rockway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071128/87533481/attachment-0001.pgp
More information about the Catalyst
mailing list