Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Chicanery Needed to Handle Unicode Text on Microsoft Windows

by Jim (Curate)
on Oct 31, 2010 at 18:10 UTC ( #868627=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    :raw:perlio:encoding(UTF-16LE):crlf:utf8
    
  2. or download this
    open my $input_fh,
        '<:raw:perlio:encoding(UTF-16LE):crlf:utf8', $input_file
    ...
    open my $output_fh,
        '>:raw:perlio:encoding(UTF-16LE):crlf:utf8', $output_file
        or die "Can't open output file $output_file: $OS_ERROR\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://868627]
help
Chatterbox?
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"
[haukex]: Unless you have specific questions, in which case SSCCE's are much better
[cbeckley]: Excellent, thank you.
[cbeckley]: CUFP is more appropriate for stuff that's finished^h^h^h^h more advanced state of completeness?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-03-24 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.