in reply to Unicode problem
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unicode problem
by graff (Chancellor) on Aug 21, 2007 at 03:49 UTC | |
by almut (Canon) on Aug 21, 2007 at 04:52 UTC |