On Jan 13, 2015, at 10:31 AM, Karl Williamson <pub...@khwilliamson.com> wrote:

> What Perl does to handle this is to simple swap the NEL and LF code points.  
> That makes \n mean NEL instead of LF.  Apparently LF is unused in EBCDIC 
> applications, so it works.  There is official support for this swap, as 
> Unicode's definition of how to get UTF-8 to work on EBCDIC platforms says to 
> do the swap.

Huh. Good to know (and have it documented now!).

> It does mean that NL doesn't mean the character that a native EBCDIC speaker 
> would think.
> 
> But the bottom line is that because of this character swapping, the NEL 
> characters in EBCDIC appear as \n, so aren't a problem for CP1252.

Nice. So should we then adopt the same pattern as the HTML 5 spec?

And I wonder if that W3 spec issue you pointed to the other day could use a 
comment to this effect.

Best,

David

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to