[Catalyst] utf8 in mysql
jon at jrock.us
Wed Nov 28 16:11:33 GMT 2007
On Wed, 2007-11-28 at 18:02 +0200, Angel Kolev wrote:
> Thank you very much!
> It works, but whitout "mysql_enable_utf8 => 1, " ([error] Caught
> exception in engine "Wide character in syswrite at
> /usr/local/share/perl/5.8.8/Catalyst/Engine.pm line 626.")
Actually, this error message means that mysql is correctly giving you
utf8. You *need* to have mysql_enable_utf8 => 1!
You also need to load Catalyst::Plugin::Unicode to encode the characters
that your application generates to octets that can be transferred over
the network. Once you do that, your app will be correct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071128/63065ada/attachment.pgp
More information about the Catalyst