[whatwg] StringEncoding open issues
glenn at zewt.org
Mon Sep 17 14:56:36 PDT 2012
On Mon, Sep 17, 2012 at 4:17 PM, Anne van Kesteren <annevk at annevk.nl> wrote:
> Why would we want the API to work different from how it works in
> markup (with <meta charset> etc.)? Granted it's not super logical, but
> I don't really see why we should make it inconsistent and more
That algorithm always allows UTF-16, even when you explicitly say UTF-8.
That would cause everyone using this API for UTF-8 to inadvertently
perpetuate UTF-16 support.
I hope we wouldn't want to apply the heuristic (#8) or user-locale steps
(#9), and the rest (user overrides, prescanning) is HTML-specific.
More information about the whatwg