Re: [PATCH v2] utf8: handle systems that don't write BOM for UTF-16

2019-02-10 Thread brian m. carlson
On Sun, Feb 10, 2019 at 08:16:26PM -0500, Eric Sunshine wrote: > On Sun, Feb 10, 2019 at 7:23 PM brian m. carlson > wrote: > > When serializing UTF-16 (and UTF-32), there are three possible ways to > > write the stream. One can write the data with a BOM in either big-endian > > or little-endian fo

Re: [PATCH v2] utf8: handle systems that don't write BOM for UTF-16

2019-02-10 Thread Eric Sunshine
On Sun, Feb 10, 2019 at 7:23 PM brian m. carlson wrote: > When serializing UTF-16 (and UTF-32), there are three possible ways to > write the stream. One can write the data with a BOM in either big-endian > or little-endian format, or one can write the data without a BOM in > big-endian format. > [