[whatwg] Default encoding to UTF-8?

Henri Sivonen hsivonen at iki.fi
Wed Apr 4 05:42:33 PDT 2012

On Tue, Apr 3, 2012 at 10:08 PM, Anne van Kesteren <annevk at opera.com> wrote:
>> I didn't mean a prescan.  I meant proceeding with the real parse and
>> switching decoders in midstream. This would have the complication of
>> also having to change the encoding the document object reports to
>> JavaScript in some cases.
> On IRC (#whatwg) zcorpan pointed out this would break URLs where entities
> are used to encode non-ASCII code points in the query component.

Good point.  So it's not worthwhile to add magic here.  It's better
that authors declare that they are using UTF-8.

Henri Sivonen
hsivonen at iki.fi

More information about the whatwg mailing list