http://www.perlmonks.org?node_id=997433


in reply to From text to csv with Text::CSV_XS

by the way


there has to be some sanitizing as well..

there has to be some iso 8859 sanitizing....


use Text::CSV::Encoded; my $csv = Text::CSV::Encoded->new ({ encoding_in => "iso-8859-1", # the encoding comes into Perl encoding_out => "cp1252", # the encoding comes out of Perl