W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

Re: Validator choking on ™ (TM)

From: Nick Kew <nick@webthing.com>
Date: Mon, 31 Dec 2001 18:22:40 +0000 (GMT)
To: <www-validator@w3.org>
cc: Bob Rosenberg <webmaster@rockmug.org>
Message-ID: <20011231181327.L5316-100000@fenris.webthing.com>

On Mon, 31 Dec 2001, Liam Quinn wrote:

> On Sun, 30 Dec 2001, Bob Rosenberg wrote:
> > Questions:
> > Would I be better off claiming to be Windows-1252 to make this
> > C1-area Codepoint Valid?
>
> No.  &#153; is undefined regardless of the character encoding.

Just to add to Liam's reply:

While the entity &#153; is indeed undefined, a byte having value 153
is valid in Windows-1252, so that is an option if your editor makes
that easy for you.  However, it's not recommended, because browser
support may be missing on non-windows platforms.

> > If I stay defined as ISO-8859-1 can I replace the &#153; with the
> > correct UniCode Codepoint for TM.
>
> Yes, you can use &#8482; for the trade mark sign.  &#ddd; always refers to
> Unicode, regardless of the character encoding.

Indeed, a better option.

-- 
Nick Kew

Site Valet - the mark of Quality on the Web.
<URL:http://valet.webthing.com/>
Received on Monday, 31 December 2001 13:22:45 GMT

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