W3C home > Mailing lists > Public > public-html@w3.org > July 2010

Re: i18n Polyglot Markup/Encodings

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 29 Jul 2010 07:19:37 -0700 (PDT)
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: public-html <public-html@w3.org>, Eliot Graff <eliotgra@microsoft.com>, public-i18n-core@w3.org, Henri Sivonen <hsivonen@iki.fi>
Message-ID: <736702733.127165.1280413177361.JavaMail.root@cm-mail03.mozilla.org>
> Next question: if one can specify any encoding via HTTP, why forbid
> any encoding inside <meta charset='*'/>?

If the meta prescan finds something, the real encoding has to be a rough ASCII superset.

See https://bugzilla.mozilla.org/show_bug.cgi?id=582788

> And then: Why allow any encoding inside <meta charset='*'/> but not
> allow the XML (encoding) declaration?

Because there's no parser support for what looks like an XML declaration in text/html.

And support isn't going to be added for mere polyglot purity.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 29 July 2010 14:20:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC