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

[whatwg] Charset sniffing from XML prolog

From: Kartikaya Gupta <lists.whatwg@stakface.com>
Date: Thu, 08 Oct 2009 00:22:22 +0000
Message-ID: <20091008002222.BB6D591B0@looneymail-mx3.g.dreamhost.com>
On Wed, 07 Oct 2009 20:04 -0400 L. David Baron wrote:

> Maybe you've configured UTF-8 as the fallback encoding?  It's a preference (and its default value varies between localizations).
> 
> Tools -> Options -> Content -> Fonts & Colors -> Character Encoding
> -> Default Character Encoding.  (For other platforms, change Tools 
> -> Options to Edit -> Preferences (GNOME-based platforms) or Firefox 
> -> Preferences (Mac).)

Nope, the default there is ISO-8859-1. Also, if I mangle the XML prolog (e.g. change it to encoding="ut", or remove the version) I get ISO-8859-1 out of the alert dialog.

kats
Received on Wednesday, 7 October 2009 17:22:22 UTC

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