W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

RE: non-sgml characters

From: Jon Hanna <jon@spin.ie>
Date: Mon, 15 Jul 2002 12:54:39 +0100
To: <w3c-wai-ig@w3.org>
Message-ID: <NDBBLCBLIMDOPKMOPHLHIEHPEDAA.jon@spin.ie>

> I used "&#153;" on a site to represent the TM Symbol, an unregistered
> Trademark.  Apparently this is a reference to a non-SGML character.

Yep, 153 is the position in the windows character set. Its Unicode position
is 0x2122 (or 8482 in decimal) so you can use &#x2122; or &#8482;

You could also try &trade; though that depends more on browser support.

AFAIR There is no character 153 (though I'm not too sure), hence the browser
was able to realise you'd made a mistake and guess that you wanted the
windows character of that position.

(It's not an SGML thing as such, SGML uses character sets defined elsewhere,
similarly with XML - and hence HTML since HTML has been XML for the last 3
years).
Received on Monday, 15 July 2002 07:54:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:05 GMT