Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
[Discipulus]: which node yesterday?
[Discipulus]: i cannot see any link to tye post..
[Lady_Aleena]: Hello.
[marto]: teleconf + coffee, I'll post it in a few mins
[beech]: fencepost?
beech is protected with velcro

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-06-23 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (538 votes). Check out past polls.