Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://929152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found