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

Re: The validator change the declared encoding

From: M. Xavier Serrand <xavier.serrand@free.fr>
Date: Thu, 15 Nov 2012 18:04:18 +0100
To: <www-validator@w3.org>
Message-ID: <000001cdc353$40bd44a0$c237cde0$@serrand@free.fr>
JKK write

> When a document declared as iso-8859-1 contains octets (bytes) in the

> 80..1F, browsers won't reject the document


You probably mean 80..9F


Validator complain even if no characters belong to this range ... 

Try with an ''empty'' HTML document : only minimal set of tags inside : 


<!DOCTYPE html><html xml:lang="fr" lang="fr"><head><meta
http-equiv="content-type" content="text/html;


Validation Output: 2 Warnings

Line 1, Column 124: Using windows-1252 instead of the declared encoding
Received on Thursday, 15 November 2012 17:19:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:31:10 UTC