List:MySQL and Perl« Previous MessageNext Message »
From:Dominic Mitchell Date:February 24 2006 5:02pm
Subject:UTF-8 support in DBD::mysql
View as plain text  
Are there any plans to introduce UTF-8 support to DBD::mysql?  At the 
moment, when I retrieve UTF-8 data from MySQL, it doesn't have the UTF-8 
flag set on the returned string.  This means that I have to litter my 
code with calls to Encode::decode_utf8().

Ideally, I'm looking for something like PostgreSQL's pg_enable_utf8 
flag: http://search.cpan.org/~dbdpg/DBD-Pg-1.44/Pg.pm#pg_enable_utf8

If it's agreed that the functionality is desired, I'm happy to create a 
patch based on the PostgreSQL support.

Thanks,
-Dom
Thread
UTF-8 support in DBD::mysqlDominic Mitchell24 Feb
  • Re: UTF-8 support in DBD::mysqlJan Kratochvil24 Feb
    • Re: UTF-8 support in DBD::mysqlDominic Mitchell25 Feb
      • Re: UTF-8 support in DBD::mysqlJan Kratochvil25 Feb
        • Re: UTF-8 support in DBD::mysqlDominic Mitchell25 Feb
  • [PATCH] Re: UTF-8 support in DBD::mysqlDominic Mitchell7 Mar