W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Charset sniffing from XML prolog

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 07 Oct 2009 21:35:00 -0400
Message-ID: <4ACD41C4.9040604@mit.edu>
On 10/7/09 9:29 PM, Kartikaya Gupta wrote:
> Using document.inputEncoding:
> http://stakface.com/pub/mango/fakexml.html
> http://stakface.com/pub/mango/fakexml_iso.html
>
> Using a degree symbol in UTF-8:
> http://stakface.com/pub/mango/fakexml2.html
> http://stakface.com/pub/mango/fakexml2_iso.html

All of those end up ISO-8859-1 for me on Mac (using default encoding of 
ISO-8859-1, auto-detect off, no extensions funny business, never visited 
the page before or anything).

-Boris
Received on Wednesday, 7 October 2009 18:35:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:17 UTC