in reply to Re: Accent Characters and Text::CSV_XS
in thread Accent Characters and Text::CSV_XS

Yes, borisz is correct, if you start Text::CSV_XS in binary mode, all of the characters will be accepted. Minor caveat - the new() method takes a hashref, not a hash, so the correct way is:
my $csv = Text::CSV_XS->new( {binary=>1} );

The next release of Text::CSV_XS will provide an option for defaulting for this behaviour rather than having to declare it on a script-by-script basis.

Replies are listed 'Best First'.
Re^3: Accent Characters and Text::CSV_XS
by existem (Sexton) on Jan 21, 2005 at 18:22 UTC

    thanks for the help, I will try that out.

    cheers,
    Tom