W3C home > Mailing lists > Public > www-validator@w3.org > May 2010

Re: Question on encoding declaration check of HTML5 conformance checker

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Fri, 7 May 2010 20:47:24 +0300
To: www-validator@w3.org
Message-Id: <201005072047.24663.ville.skytta@iki.fi>
On Thursday 29 April 2010, Andreas Prilop wrote:
> On Thu, 29 Apr 2010, Felix Sasaki wrote:
> > "Internal encoding declaration iso-8859-1 disagrees with the actual
> > encoding of the document (utf-8)."
> 
> This seems to happen always when you specify "Doctype: HTML5" --
> as opposed to "(detect automatically)".
> 
> http://validator.w3.org/check?uri=www.user.uni-hannover.de/nhtcapri/vietnam
> ese.win.html#result
> 
> http://validator.w3.org/check?uri=www.user.uni-hannover.de/nhtcapri/vietnam
> ese.win.html&doctype=HTML5#result

This is a known limitation; whenever validator needs to transcode a document 
(for example when overriding doctype) and pass the result of that to external 
validators, it did not modify charset information possibly included in the 
passed, modified document (<meta>, xml declaration) to reflect the 
transcoding.  Fixed now in CVS and the validator development instance at 
http://qa-dev.w3.org/wmvs/HEAD/
Received on Friday, 7 May 2010 17:47:55 GMT

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