W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

Re: Fallback to UTF-8

From: David Dorward <david@dorward.me.uk>
Date: Thu, 24 Apr 2008 22:13:17 +0100
Message-Id: <84C3081C-1FE4-4B75-B7B3-4602807A3DCE@dorward.me.uk>
To: www-validator@w3.org

On 24 Apr 2008, at 17:59, Andreas Prilop wrote:
> On Thu, 24 Apr 2008, David Dorward wrote:
>
>> I agree that it is not ideal, but assuming ISO-8859-1 for UTF-8
>
> The validator *already* *does* check if a document can be
> interpreted as UTF-8. If UTF-8 is possible, then OK!

Right - it falls back to UTF-8, then it succeeds or fails.

>> is no better than assuming UTF-8 for ISO-8859-1 documents.
>
> No, no, no! Please read the two error reports you get on
> http://www.unics.uni-hannover.de/nhtcapri/test.htm  !!!

The other one is "You told me to use ISO-8859-1 no matter what", then  
it succeeds or fails.

It doesn't try one encoding then fall back to another.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Thursday, 24 April 2008 21:13:56 GMT

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