On Tue, Apr 3, 2012 at 10:08 PM, Anne van Kesteren <[email protected]> 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
[email protected]
http://hsivonen.iki.fi/

Reply via email to