W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2012

[Bug 20307] in HTML should warn when title precedes meta@charset

From: <bugzilla@jessica.w3.org>
Date: Sat, 08 Dec 2012 14:43:00 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-20307-169-EWfIDPuvmc@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20307

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@w3.org

--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
(In reply to comment #0)
> Note that validator.nu reports an error for this document:
> 
> <!DOCTYPE html>
> <html>
> <head>
>  <title>äöü</title>
>  <meta charset="iso-8859-1">
> </head>
> <body>
> <h1>äöü</h1>
> </body>
> </html>

Yeah, if you put validate it by pasting it into the textarea. That's just
because it treats all textarea input as UTF-8. But if you take that same
document and instead put it up on the Web and serve it with a iso-8859-1
charset in the content-type header, you won't get an error (you'll get a
warning but that's a different story).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 8 December 2012 14:43:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:54 UTC