Re: The validator change the declared encoding

JKK write

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

> 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;
charset=iso-8859-1"/><title>a</title></head><body></body>

 

Validation Output: 2 Warnings

Line 1, Column 124: Using windows-1252 instead of the declared encoding
iso-8859-1.

Received on Thursday, 15 November 2012 17:19:32 UTC