Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

by ikegami (Pope)
on Jun 03, 2008 at 10:53 UTC ( #689841=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
    binmode STDIN, ':raw:encoding(ucs-2le):crlf:utf8' or die;
    dump_layers STDIN;
  2. or download this
    unix encoding(UCS-2LE) utf8 crlf utf8
    unix encoding(UCS-2LE) utf8 crlf utf8
    unix crlf encoding(UCS-2LE) utf8
    unix crlf encoding(UCS-2LE) utf8
  3. or download this
    binmode $fh, ':raw:pop:encoding(ucs-2le):crlf:utf8';
    #                  ^^^

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689841]
talexb admires the shimmering pool after an enjoyable hour-long All Hands meeting spent listening with one ear and reading Perlmonks with the other .. ear.
[talexb]: Used all my votes during that meeting .. been a while since I've done that. Now, back to work. Good localtime, monks!
[Corion]: talexb: You enjoyed the All Hands meeting in the pool?!
[Corion]: I understand "surfing" in the pool ;)
[talexb]: Corion I admired the pool .. I wasn't .. soaking in it. ;)
[talexb]: Plus, I've been awy from PM for about three weeks .. needed a bit of catch-up time.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-07-20 15:11 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (304 votes). Check out past polls.