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

Default charset in HTML5

From: Nick <halbtaxabo-temp4@yahoo.com>
Date: Thu, 9 Mar 2017 09:35:34 +0000 (UTC)
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <399303649.2033694.1489052134241@mail.yahoo.com>
If an HTML5 document doesn't specify a charset, the validator flags an error like this:

"Error: The character encoding was not declared. Proceeding using windows-1252"

and then proceeds to flag further errorsĀ  ("Unmappable byte sequence") when it encounters utf-8 encodings of characters not in the windows-1252 set. Isn't utf-8 the default for HTML5?
RegardsNick Jacobs
Received on Thursday, 9 March 2017 10:53:41 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 9 March 2017 10:53:44 UTC