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)";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: crlf mess in unicode utf-16le
by xlat (Initiate) on Apr 28, 2015 at 10:40 UTC |
In Section
Seekers of Perl Wisdom