- From: Christopher Head <chead@chead.ca>
- Date: Thu, 21 Mar 2013 14:03:28 -0700
- To: www-validator@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, I verified a document with <meta charset="ISO-8859-1">. The validator reported that "Bad value ISO-8859-1 for attribute charset on element meta: iso-8859-1 is not a preferred encoding name. The preferred label for this encoding is windows-1252.". But upon opening the linked IANA character sets registry page, I discovered that looking at the table of character sets in the registry, ISO-8859-1 is the second entry (and that name appears in the "Preferred MIME Name" column), while "windows-1252" only ever appears in the "Name" column, NEVER in the "Preferred MIME Name" column, and for that matter, not even for the same character set! Thus the advice on the validator page following the error message, namely: An encoding name labeled as a "preferred MIME name" in the IANA Character Sets registry. Example: utf-8 is incorrect; ISO-8859-1 *is* a preferred MIME name, and windows-1252 is not! Thanks, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlFLdaIACgkQMcVpqLZH/3xuqwD/XW1InX7bcrbUuo9x2h9apHze OMJNN4mrtMQTbBqwXboA/iWmPe7zi1EcKtsmwnvLTbVbTiYAuSprVU5gcyGtMQSf =k3gH -----END PGP SIGNATURE-----
Received on Friday, 22 March 2013 13:22:53 UTC