[Dbix-class] Unicode conversion problems

Jesse Sheidlower jester at panix.com
Mon Jul 5 21:49:30 GMT 2010


On Mon, Jul 05, 2010 at 05:45:11PM +0200, Matias E. Fernandez wrote:
> Hello Jesse
> 
> Please try the following using the table 'foo' you described earlier:
> 
> mysql> set names utf8;
> mysql> insert into foo (author) values('Pérez-Reverte, Arturo Кири́ллица ქართული  汉字 / 漢');

[my mailer is still horking on that first Chinese character; sorry]

> then try this script, notice the attributes which in this case are very important:

[snipped]

> What do you get there?

This gives the correct results (i.e. what comes out is what
went in, with the e-acute, Russian, Georgian, and Chinese
characters.

Jesse Sheidlower



More information about the DBIx-Class mailing list