Hello Jesse

On 2010-07-05, at 23:56, Jesse Sheidlower wrote:
> 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's perfectly okay, please read perluniintro[1], perlunifaq[2] and the like!
If you are printing to a console, and that console is set up to expect UTF-8,
then you can use:

binmode(STDOUT, ":encoding(UTF-8)");

On this occasion I would like to recommend reading "The Absolute Minimum 
Every Software Developer Absolutely, Positively Must Know About Unicode 
and Character Sets (No Excuses!)"[3] by Joel Spolsky.

> That doesn't seem good.


Quite the contrary, it most definitely does! :-)

Regards
Matias E. Fernandez

[1] http://perldoc.perl.org/perluniintro.html#Perl's-Unicode-Model
[2] 
http://perldoc.perl.org/5.10.0/perlunifaq.html#What-is-a-%22wide-character%22%3f
[3] http://www.joelonsoftware.com/articles/Unicode.html
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to