http://www.perlmonks.org?node_id=687488


in reply to PerlIO: crlf layer on Windows interfering with UCS-2 unicode

Great post. I ++ed it when you originally posted it. I would just like to clarify one statement.

Any encoding with a minimal character size of more than one byte (like UTF-16, UTF-32) should pose similar problems.

That's not a sufficient condition. For example, the layer order should interfere with EBCDIC-based encodings, even if each character maps to a single byte.

The following encodings should be negatively affected by the default layer order:

  • Comment on Re: PerlIO: crlf layer on Windows interfering with UCS-2 unicode