in reply to Altering Text::CSV to handle Unicode data
The solution is simple. Don't use Text::CSV. It only handles ASCII data and it doesn't handle embedded newlines. You're already using Text::CSV_XS and you know it's faster, so why not use it? If you want it to match non-ascii (and the newlines!), just set binary mode to true in the attributes in the constructor.
my $csv = Text::CSV_XS->new({binary => 1});Cheers,
Ovid
Looking for work. Here's my resume. Will work for food (plus salary).
New address of my CGI Course.
|
|---|