While coding some XML stuff lately (if you’re into PHP and XML, get a grip on FluentDOM if you have not already) I ran about some line ending issues. That [NEL] thingy was new to me, so I just wanted to get the whole picture. There is always something to discover
Line Ending Encodings
Platform | Line Ending | PHP (UTF-8) | Unicode | |
---|---|---|---|---|
Apple Macintosh | [CR] | \r | (#x000D) | |
UNIX Based Systems | [LF] | \n | (#x000A) | |
DOS Based Systems | [CR][LF] | \r\n | (#x000D)(#x000A) | |
OS/390 | [NEL] | \xC2\x85 | (#x0085) |
Sources: Why CR+LF?, W3C Note
Tagged: Apple Macintosh, DOS, Encoding, FluentDOM, Line Ending, OS/390, PHP, UNIX, XML Image may be NSFW.
Clik here to view.

Clik here to view.
