W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: [XHR] Some comments on "charset" in the Content-Type header

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 12 Oct 2009 12:05:33 -0400
Message-ID: <4AD353CD.6020509@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: WebApps WG <public-webapps@w3.org>
On 10/12/09 11:58 AM, Anne van Kesteren wrote:
> If you do something as simple as
>
> application/xhtml+xml;charset=utf-8
>
> it will be corrected so it should be fine.

Oh, I see.  So you made it so charset is never _added_ if the 
content-type is set, but will be corrected if present?

> However, it is not clear to me why you'd want a charset parameter for
> XML resources to begin with. The metadata the XML parser can extract is
> much more likely to be correct.

People have a bit of a tendency to not include the encoding="" in their 
xml-version...

-Boris
Received on Monday, 12 October 2009 16:06:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:34 GMT