[Dbix-class] inflate? select? turning on utf8 for mysql till the dbd is upgraded

apv apv at sedition.com
Thu Feb 9 07:50:07 CET 2006


In CDBI for MySQL I'm setting everything to utf8 this way (the tables 
are utf8 but the DBD doesn't bring the info across):

# the base class
use Data::Structure::Util qw( _utf8_on );
__PACKAGE__->add_trigger(select => sub { _utf8_on($_[0]) });

How would I go about turning on the utf-8 flag for everything via DBIC?

Thanks!
-Ashley
--
PS: sorry for the double mail, Matt




More information about the Dbix-class mailing list