Re: Validation failing incorrectly on bad value for encoding name

Hi, I've just installed validator.nu and I can confirm the same error about
utf-8 not being valid when validating http://twitter.com


   1.

   *Info*: The Content-Type was text/html. Using the HTML parser.
   2.

   *Info*: Using the schema for HTML5 + SVG 1.1 + MathML 3.0 + RDFa Lite
   1.1.
   3.

   *Error*: Bad value utf-8 for attribute charset on element
meta<http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element>
   : utf-8 is not a valid character encoding name.

   From line 13, column 5; to line 13, column 26

   ↩ ↩ *<meta charset="utf-8">*↩
   Syntax of encoding name:An encoding name labeled as a "preferred MIME
   name" in the IANA Character Sets
registry<http://www.iana.org/assignments/character-sets>.
   Example: utf-8


How can we fix that?

Thanks!

Received on Saturday, 9 March 2013 23:41:52 UTC