Re: i18n Polyglot Markup/Encodings

> 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.


> 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

Received on Thursday, 29 July 2010 14:20:17 UTC