Elegant support for DOS or posix newlines

Turns out it was a byte-order mark:

We definitely need to fix that! It comes up surprisingly often, although this is the first case of a UTF-8 BOM. Most of the BOMs are only 2 bytes and from UTF-16.

3 Likes