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

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