[Dbix-class] Unicode conversion problems

Jesse Sheidlower jester at panix.com
Mon Jul 5 21:56:27 GMT 2010


On Mon, Jul 05, 2010 at 05:49:30PM -0400, Jesse Sheidlower wrote:
> 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.

Sorry, let me revise that slightly: I do get the correct
results, but preceded by "Wide character in print at
foo-test2.pl line 22."

That doesn't seem good.

Jesse Sheidlower



More information about the DBIx-Class mailing list