in reply to Accent Characters and Text::CSV_XS

Have you tried to open Text::CSV_XS in binary mode?
Text::CSV_XS->new(binary => 1,...);
Another good module is Text::xSV.
Boris

Replies are listed 'Best First'.
Re^2: Accent Characters and Text::CSV_XS
by jZed (Prior) on Jan 21, 2005 at 17:55 UTC
    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.

      thanks for the help, I will try that out.

      cheers,
      Tom