W3C home > Mailing lists > Public > www-validator@w3.org > March 2016

Re: Charset recognition

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 9 Mar 2016 11:50:45 +0200
To: Jukka Peltomäki <jukka.h.peltomaki@gmail.com>, www-validator@w3.org
Message-ID: <56DFF1F5.9020207@cs.tut.fi>
9.3.2016, 11:31, Jukka Peltomäki wrote:

> The validator test result states "The Content-Type was text/html with no
> charset specified. Used the HTML parser.", despite the fact that the
> charset is specified with <meta charset="UTF-8"> in HTML5.

This seems to happen when the Content-Type HTTP response header, as sent 
by the server, specifies text/html without a charset parameter.

The validator still honors a <meta charset="..."> element if present.

So the informative message would be clearer with an addition and a 
change : “The Content-Type, as specified in HTTP headers, was text/html 
without a charset parameter.”

Received on Wednesday, 9 March 2016 09:51:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 March 2016 09:51:18 UTC