W3C home > Mailing lists > Public > www-validator@w3.org > November 2007

Meta Character Encoding Not Detected

From: Email Reply <email_reply0234@mercysoftware.com>
Date: Tue, 20 Nov 2007 14:35:59 -0500
To: www-validator@w3.org
Message-Id: <1195587359.5178.37.camel@localhost.localdomain>
If I validate by Direct Input and paste the following code into the
validator:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test</title>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1"> 
</head>
<body>
testing
</body>
</html>

If I set encoding to "detect automatically" then the validator selects
utf-8 as the encoding despite the fact that I have set a meta tag
declaring it as iso-8859-1.  

If I set the encoding to iso-8859-1, then the validator issues a warning
that I'm overriding the detected character encoding of utf-8.
Received on Wednesday, 21 November 2007 00:52:40 GMT

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