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)";
In reply to Re: crlf mess in unicode utf-16le
by ikegami
in thread crlf mess in unicode utf-16le
by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |