W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: Reference to non-SGML character Error Message

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 1 Jul 2002 00:54:28 -0400 (EDT)
To: Bob Rosenberg <webmaster@rockmug.org>
cc: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0207010052410.14453-100000@localhost.localdomain>

On Mon, 1 Jul 2002, Bob Rosenberg wrote:

> What CHARSET did you declare (or default to) in your META tag? If it
> was ISO-8859-1 then the codes in the 128-159 codepoint range are
> INVALID and should either be coded using &name; entries (such as
> &ldquo;) or as their Unicode Codepoint equivalents (&#8016/17/20/21;
> for the "curly quotes" if I remember correctly).
>
> If you DO claim to be WIN-1252 then (at least in theory) the
> Validator is in error since the use of the 129-159 codepoints are
> VALID since they represent valid glyphs in that character-set.

No, that's not true. &#ddd; always refers to the Unicode code point,
regardless of the Content-Type's charset parameter.

-- 
Liam Quinn
Received on Monday, 1 July 2002 00:54:22 GMT

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