W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 1999

Re: Is there pi?

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 27 Oct 1999 22:06:06 +0900
To: w3c-wai-ig@w3.org
Message-Id: <19991027220606X.mimasa@w3.mag.keio.ac.jp>
This is really off-topic for this list, but it seems some issues should
be clarified ...

crism@exemplary.net (Christopher R. Maden) wrote:

> You can try &pi; or &#960; (not &960; as someone suggested) or &#x3c0;.
> The entity &pi; is defined in HTML 4.0; 3C0 hexadecimal (960 decimal) is
> the "code point" of the lower-case Greek letter pi in the Unicode character
> set.

Right.

> However, &pi; will only work in HTML 4.0 browsers; &#960; will only
> work in some browsers if the document character encoding is defined as
> UTF-8 or another full Unicode encoding;

To clarify: numeric character references should work regardless of
character encoding.  &#960; SHALL be interpreted as "GREEK SMALL
LETTER PI" even if the document is encoded in US-ASCII (or whatever).
Indeed there are some user agents which incorrectly treat NCRs
differently depending on character encoding, but please note that
such behavior is non-conforming.

> and &#x3c0; will only work in
> post-XML browsers (the convention originated in XML, and was adopted into
> SGML and thence to HTML).

Some pre-XML browsers support hexadecimal numeric character references,
sush as Alis Technologies' Tango browser.  Tango does display &#x3c0;
as "GREEK SMALL LETTER PI".

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Wednesday, 27 October 1999 09:05:21 GMT

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