Re: Question on encoding declaration check of HTML5 conformance checker

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 UTC