[Dbix-class] Wrong UTF-8 handling in DBIx::Class/DBD::mysql despite mysql_enable_utf8

Zbigniew Lukasiak zzbbyy at gmail.com
Fri May 14 13:57:57 GMT 2010


On Wed, May 12, 2010 at 11:01 PM, Nick Wellnhofer <wellnhofer at aevum.de> wrote:
> On 12/05/10 23:25, Matias E. Fernandez wrote:
>>
>> Not quite. I get back decoded UTF-8 data, yes! That's why you'll find
>> sv_utf8_decode in the DBD::mysql source, but nowhere do you find an
>> encode!
>
> This looks like a bug in DBD::mysql.

Yeah -  DBIC passes the data to another Perl layer - so it is not
responsible to do the encoding/decoding. It is DBD::mysql which is
contacting the 'external' (not Perl) world - so it should do the
encoding/decoding.

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the DBIx-Class mailing list