Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by ikegami (Pope)
on Oct 31, 2010 at 00:17 UTC ( #868526=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Chicanery Needed to Handle Unicode Text on Microsoft Windows
in thread Chicanery Needed to Handle Unicode Text on Microsoft Windows

Should one use the same layers in the same order for both input and output?

They are processed from the file handle out when reading, and in the opposite direction when writing.

Also, do you know why it doesn't work with the open pragma?

Maybe it does the equivalent of binmode, and binmode doesn't remove the existing layers. (:raw simply ends up disabling the crlf layer, then :crlf reenables the existing layer rather than adding a new layer.)


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://868526]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-11-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls