W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 19 Sep 2008 17:38:47 +0200
Message-ID: <48D3C787.10307@gmx.de>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Anne van Kesteren <annevk@opera.com>, public-webapps <public-webapps@w3.org>

Boris Zbarsky wrote:
> Julian Reschke wrote:
>> Maybe I'm missing something, but why not leave it alone if the MIME 
>> type isn't "text/*" (the only ones where charset is really relevant)?
> 
> An excellent example right there of why!  For example, it's relevant for 
> some application types: application/xml, application/xhtml+xml, 
> application/x-javascript (yes, I know, not officially registered, still 
> in use).

Why would you ever *want* to set charset on application/xml or 
application/*+xml? (except for the reason the related RFC recommends 
it)? What is it good for? Are there really cases where people need to 
override the results of XML's charset sniffing?

> ...

BR, Julian
Received on Friday, 19 September 2008 15:39:40 GMT

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