Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: crlf mess in unicode utf-16le

by ikegami (Pope)
on Oct 10, 2006 at 03:18 UTC ( #577314=note: print w/ replies, xml ) Need Help??


in reply to crlf mess in unicode utf-16le

Apparently, the encoding layer does not remove underlying layers. A solution (workaround?) is to push raw first.

open OUT, ">temp.txt"; binmode OUT, ":raw:encoding(UTF-16le)";


Comment on Re: crlf mess in unicode utf-16le
Select or Download Code
Re^2: crlf mess in unicode utf-16le
by xlat (Initiate) on Apr 28, 2015 at 10:40 UTC
    Thank you guys, I've got same issue with tell() and binmode with :raw remove warnings.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2015-05-04 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (92 votes), past polls