W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Default encoding to UTF-8?

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 4 Apr 2012 15:42:33 +0300
Message-ID: <CAJQvAue58wynhTxsTGgUmDPEMZx5e+RaFsMBVZe8m6BZ5tmY_A@mail.gmail.com>
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
Received on Wednesday, 4 April 2012 05:42:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:12 UTC