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

Re: Validation of apostrophe

From: olivier Thereaux <ot@w3.org>
Date: Thu, 15 Feb 2007 05:16:28 +0900
Message-Id: <D006206D-9C6C-4ABE-8C50-73513BAE2D6E@w3.org>
Cc: www-validator@w3.org
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, richard Eskins <R.Eskins@mmu.ac.uk>

Jukka,

On Feb 15, 2007, at 04:04 , Jukka K. Korpela wrote:
>> However, if the page is validated using the Direct
>> Input facility it does validate.
>>
>> Is this an error in the way the Direct Input facility works?
>
> I'd say so. The problem is that the Direct Input facility is on a  
> UTF-8 encoded page, and when you e.g. cut and past your document  
> there, your browser converts the representation of characters into  
> UTF-8
[...]
> Then the validator somehow fails to pay attention to the ISO-8859-1  
> encoding declared in the <meta> tag.

I don't follow your logic here. As you mention, the browser is  
performing the transcoding, so the data is utf-8, and the validator  
treats is as utf-8, correctly. Because of the transcoding, the  
charset information in the meta tag becomes completely irrelevant:  
the validator should not "pay attention" to it.

-- 
olivier
Received on Wednesday, 14 February 2007 20:16:53 GMT

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