Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma? ("XS")

by remiah (Hermit)
on Oct 02, 2011 at 14:38 UTC ( #929152=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Text::CSV::Encoded;
    my $csv = Text::CSV::Encoded->new ({binary=>1, encoding=>"utf8"}) or d
    +ie $!;
    while (my $row = $csv->getline (*ARGV)) {
        $csv->print(\*STDOUT, $row);
    }
    
  2. or download this
    perl test.pl test.csv
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-11-26 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls