W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] [WA1] Specifying Character Encoding

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 01 Mar 2007 08:13:25 +0100
Message-ID: <45E67D15.8000309@gmx.de>
Ian Hickson schrieb:
 > ...
>> For X(HT)ML, according to the Architecture of the World Wide Web, Volume 
>> One - Media types for XML [2]:
>> [2] http://www.w3.org/TR/2004/REC-webarch-20041215/#xml-media-types
>>
>> | In general, a representation provider SHOULD NOT specify the character
>> | encoding for XML data in protocol headers since the data is
>> | self-describing.
> 
> I personally disagree with the arguments above (transcoding proxies mean 
> that the content really can't know what its content is, and therefore it 
> shouldn't be saying what its encoding is). I could see an argument for 
> removing the advice from the HTML5 spec altogether, though. What do you 
> think?
> ...

If a proxy transcodes xhtml today, and does not modify the XML 
declaration (when present), it will break the content, right?

So yes, unless there's clear agreement on what the spec should say, it 
be better silent on that matter.

Best regards, Julian
Received on Wednesday, 28 February 2007 23:13:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC