Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma?

by Jim (Curate)
on Oct 02, 2011 at 21:11 UTC ( #929180=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    }
    
    exit 0;
    
  2. or download this
    use File::BOM qw( open_bom );
    
    open my $input_fh, '<:via(File::BOM)', $input_file;
    open my $output_fh, '>:encoding(UTF-8):via(File::BOM)', $output_file;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929180]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-11-18 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?