[Catalyst] CSV / UTF-8 / Unicode

Mike Whitaker mike at altrion.org
Tue Jul 2 13:58:04 GMT 2013


On 2 Jul 2013, at 14:36, Mike Whitaker <mike at altrion.org> wrote:
> On 2 Jul 2013, at 14:34, Craig Chant <craig at homeloanpartnership.com> wrote:
>> 
>> So either I refactor my SQL model wrappers under Catalyst to use Win32::ODBC, or I find out why DBI is corrupting my SQL data.
> 
> Be a hero. Do the latter :D :D

..and have a read of http://juerd.nl/site.plp/perluniadvice 

You may also find that calling utf8::is_utf8() on the strings that come back from your DB may be revealing (this is one case in which you may use this without people screaming NOOOOOOOO!), as may http://search.cpan.org/~ilyaz/Devel-Peek-0.96/Peek.pm for peeking into the innnards of Perl strings.




More information about the Catalyst mailing list