This is a peculiarity/bug which occurs when the Windows-specific crlf PerlIO layer is being used in combination with a multibyte encoding like UTF-16. See this node for a more detailed explanation and a workaround (the node talks about UCS-2, but everything equally holds for UTF-16, so you can just substitute the latter).
In short, the solution is to specify the layers as
:raw:encoding(UTF-16LE):crlf:utf8
(hopefully, some solution will be found for an upcoming release that makes this hack unnecessary)
In reply to Re: Unicode problem
by almut
in thread Unicode problem
by adrodin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |