Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: PerlIO: crlf layer on Windows interfering with UCS-2 unicode

by ikegami (Patriarch)
on Feb 15, 2010 at 06:43 UTC ( [id://823228] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open my $fh, ">:raw:encoding(ucs-2le):crlf:utf8", $qfn
    
  2. or download this
    open my $fh, ">:raw:perlio:encoding(ucs-2le):crlf:utf8", $qfn
    
  3. or download this
    open my $fh, ">:raw:perlio:encoding(ucs-2le):crlf", $qfn