W3C home > Mailing lists > Public > www-html@w3.org > March 1999

Re: entity/charref questions (was Re: Dynamic Font Size)

From: Walter Ian Kaye <walter@natural-innovations.com>
Date: Tue, 23 Mar 1999 09:41:54 -0800
Message-Id: <v03130312b31d7fc526c3@[]>
To: www-html@w3.org
At 6:28a -0800 03/23/99, Alan G. Isaac wrote:
>I'm looking at
>  http://www.w3.org/TR/REC-html40/sgml/entities.html
>Why is it &emsp; and &ensp; but   &mdash; and &ndash; ?

I've found that curious as well.

>Why are  &mdash; and &ndash; equivalent to &#8212; and &#8211;
>instead of &#151; and &#152; ?
>Why are no character entity references below &#160; listed on
>this page?

Because #128-#159 do not exist, have never existed, and will never exist.
ISO-8859-1 is NOT windows-1252. Take care that you do not confuse them.

As for why 128-159 are not used in Latin1, I haven't found a definitive
answer, but my educated guess is that it was for compatibility with 8-bit
ASCII, where that range is for the "C1" control characters. (The 8-bit
ASCII standard was later withdrawn -- I think it was ANSI X3.41 or X3.64,
neither of which can even be found on the ANSI web site...)

Received on Tuesday, 23 March 1999 12:42:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:50 UTC