W3C home > Mailing lists > Public > www-validator@w3.org > July 2011

Validation of charset for HTML5

From: Sylvia Götting <sg@sgsis.de>
Date: Mon, 18 Jul 2011 20:49:03 +0200
Message-ID: <4E24801F.6020306@sgsis.de>
To: www-validator@w3.org
Hi there,

I am using Firefox 4.0.1. and an addon called WebDeveloper.

On http://www.w3schools.com/html5/att_meta_charset.asp I read how to 
declare the charset, which in my case is
<meta charset="ISO-8859-1" />.  This line is the first after <head>.

The addon allows me to validate (using http://validator.w3.org/check) my 
project while it is running in development environment (xampp 1.7.4 in 
this case). Even though I declared the charset as mentioned, the 
validation comes back with a successful check, but this warning:

Warning /Line 11, Column 30/: Using windows-1252 instead of the declared 
encoding iso-8859-1.

|	<meta charset="ISO-8859-1" /*>*|


And yet, on the top of the validation page in the result list it says
Encoding: iso-8859-1, and the combobox reads (detected auotomatically)

There is, by the way, no difference whether I write iso in small or 
capital letters.

Why this warning?
By the way: It says on top of the warning


      Validation Output: 2 Warnings

but there is only one.




With kind regards

Sylvia Götting from Hamburg, Germany
Received on Wednesday, 20 July 2011 07:20:54 GMT

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