On Fri, Mar 17, 2017 at 11:00 AM, Henri Sivonen <hsivo...@hsivonen.fi> wrote:
> Our IsUTF8() by default rejects strings that contain code points whose
> lowest 16 bits are 0xFFFE or 0xFFFF.
>
> Do we actually have use cases for rejecting such strings in UTF-8ness checks?

I'm not aware of any web-observable feature that would need that. The
only places I know of that do something with non-characters are URLs
and HTML, which exclude them for validity purposes, but there's no
browser API necessarily affected by that and they wouldn't use a
IsUTF8() code path. Are there too many callers to examine the
implications?


-- 
https://annevankesteren.nl/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to