W3C home > Mailing lists > Public > www-validator@w3.org > March 2013

Re: Latin-1 not in utf-8 processing?

From: David Dorward <david@dorward.me.uk>
Date: Mon, 4 Mar 2013 14:47:22 +0000
Cc: "www-validator@w3.org" <www-validator@w3.org>
Message-Id: <783B5738-3840-4AB9-BFA4-C152A5848688@dorward.me.uk>
To: Naena Guru <naenaguru@gmail.com>
On 3 Mar 2013, at 06:08, Naena Guru <naenaguru@gmail.com> wrote:
> Could someone explain why ASCII and ISO-8859-1 characters are treated differently under UTF-8 charset declaration?

ASCII characters are not treated differently (since ASCII is, AFAIK, a subset of both ISO-8859-* and UTF-8).

ISO-8859-1 characters are treated differently because ISO-8859-1 isn't UTF-8. 

Declaring that a document is encoded using UTF-8 while you really encode it as ISO-8859-1 is counter-productive. 
Received on Monday, 4 March 2013 14:47:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC