Corner cases (was: Re: UTF-16 Encoding Scheme and U+FFFE)

Doug Ewell doug at
Thu Jun 5 14:46:23 CDT 2014

Philippe Verdy <verdy underscore p at wanadoo dot fr> wrote:

> Not necessarily true.
> [602 words]

This has nothing to do with the scenario I described, which involved
removing a "BOM" from the start of an arbitrary fragment of data,
thereby corrupting the data because the "BOM" was actually a ZWNBSP.

If you have an arbitrary fragment of data, don't fiddle with it.

If you know enough about the data to fiddle with it safely, it's not

Doug Ewell | Thornton, CO, USA | @DougEwell

More information about the Unicode mailing list