W3C home > Mailing lists > Public > www-validator@w3.org > June 2003

Re: default charset broken

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 07 Jun 2003 16:33:40 +0200
To: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
Cc: www-validator@w3.org
Message-ID: <3eebf68c.471973371@smtp.bjoern.hoehrmann.de>

* Kjetil Torgrim Homme wrote:
>>   > the default charset for text/* is "ISO-8859-1", but the
>>   > validator treats it as unknown.
>>   >
>>   > see 3.4.1 and 3.7.1 in RFC 2616.
>>   
>>   What about section 5.2.2 of HTML 4.01?
>
>you have to keep the layers separate here.  the HTTP transport
>delivers a Content-Type header to HTML, this has charset "ISO-8859-1"
>set implicitly.  HTML can NOT distinguish between the charset being
>explicit in HTTP or not, that behaviour is specified in the HTTP
>standard.

Most major user agents implement what HTML says rather than what
HTTP/1.1 says, why should the HTML Validator not do what the HTML
specification requires?
Received on Saturday, 7 June 2003 10:34:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT