[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Lynx character entity references fix
From: |
Jacob Poon |
Subject: |
lynx-dev Lynx character entity references fix |
Date: |
Thu, 4 Mar 1999 16:38:43 -0500 |
This patch does the following:
HTML 4.0 compliance:
- Added support for Euro currency symbol.
- Fixed duplicated ◊ definitions.
Fixes:
- Fixed some typos in the old references. (fixed: b.delta)
I don't know if the table should contain both versions of ◊
reference. But for HTML 4.0 compliance, the U+2727 one is commented,
unless there are reasonable objections for it.
*** WWW/Library/Implementation/entities.h Mon Feb 22 00:26:27 1999
--- WWW/Library/Implementation/entities.h.new Thu Mar 4 16:37:42 1999
***************
*** 69,74 ****
--- 69,95 ----
BTW, lots of synonyms found in this table, we shouldn't worry about...
*/
+ /*
+ Modified by Jacob Poon <address@hidden>
+
+ This table is modified improve support of HTML 4.0 character entity
references,
+ including Euro symbol support.
+
+ Known issues:
+
+ The original table includes two different definitions of ◊ reference.
+ Since HTML 4.0 only uses U+25CA, the U+2727 definition is commented out,
+ until there is a good reason to put it back in.
+
+ At the end of the table, there are several unnumbered, commented references.
+ These are not defined in HTML 4.0, and will remain so until they are defined
+ in future SGML/HTML standards.
+
+ The support for obsolete references are for backwards compatibility only. New
+ SGML/HTML documents should not depend on these references just because Lynx
can
+ display them.
+ */
+
static CONST UC_entity_info unicode_entities[] = {
{"AElig", 0x00C6}, /* LATIN CAPITAL LETTER AE */
{"Aacgr", 0x0386}, /* GREEK CAPITAL LETTER ALPHA WITH TONOS */
***************
*** 326,332 ****
{"b.alpha", 0x03B1}, /* GREEK SMALL LETTER ALPHA */
{"b.beta", 0x03B2}, /* GREEK SMALL LETTER BETA */
{"b.chi", 0x03C7}, /* GREEK SMALL LETTER CHI */
! {"b.delta", 0x03B3}, /* GREEK SMALL LETTER GAMMA */
{"b.epsi", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
{"b.epsis", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
{"b.epsiv", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
--- 347,353 ----
{"b.alpha", 0x03B1}, /* GREEK SMALL LETTER ALPHA */
{"b.beta", 0x03B2}, /* GREEK SMALL LETTER BETA */
{"b.chi", 0x03C7}, /* GREEK SMALL LETTER CHI */
! {"b.delta", 0x03B4}, /* GREEK SMALL LETTER DELTA */
{"b.epsi", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
{"b.epsis", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
{"b.epsiv", 0x03B5}, /* GREEK SMALL LETTER EPSILON */
***************
*** 532,537 ****
--- 553,559 ----
{"eta", 0x03B7}, /* GREEK SMALL LETTER ETA */
{"eth", 0x00F0}, /* LATIN SMALL LETTER ETH */
{"euml", 0x00EB}, /* LATIN SMALL LETTER E WITH DIAERESIS */
+ {"euro", 0x20AC}, /* EURO SIGN */
{"excl", 0x0021}, /* EXCLAMATION MARK */
{"exist", 0x2203}, /* THERE EXISTS */
{"fcy", 0x0444}, /* CYRILLIC SMALL LETTER EF */
***************
*** 679,685 ****
{"lowast", 0x2217}, /* ASTERISK OPERATOR */
{"lowbar", 0x005F}, /* LOW LINE */
{"loz", 0x25CA}, /* LOZENGE */
! {"loz", 0x2727}, /* WHITE FOUR POINTED STAR */
{"lozf", 0x2726}, /* BLACK FOUR POINTED STAR */
{"lpar", 0x0028}, /* LEFT PARENTHESIS */
{"lrarr2", 0x21C6}, /* LEFTWARDS ARROW OVER RIGHTWARDS ARROW */
--- 701,708 ----
{"lowast", 0x2217}, /* ASTERISK OPERATOR */
{"lowbar", 0x005F}, /* LOW LINE */
{"loz", 0x25CA}, /* LOZENGE */
! /* {"loz", 0x2727}, WHITE FOUR POINTED STAR */
! /* Warning: Duplicated ◊ entry. HTML 4,0 defines it as U+25CA. */
{"lozf", 0x2726}, /* BLACK FOUR POINTED STAR */
{"lpar", 0x0028}, /* LEFT PARENTHESIS */
{"lrarr2", 0x21C6}, /* LEFTWARDS ARROW OVER RIGHTWARDS ARROW */
- lynx-dev Lynx character entity references fix,
Jacob Poon <=
- Re: lynx-dev Lynx character entity references fix, Leonid Pauzner, 1999/03/05
- Re: lynx-dev Lynx character entity references fix, Klaus Weide, 1999/03/07
- Re: lynx-dev Lynx character entity references fix, Leonid Pauzner, 1999/03/07
- Re: lynx-dev Lynx character entity references fix, Klaus Weide, 1999/03/09
- Re: lynx-dev Lynx character entity references fix, Leonid Pauzner, 1999/03/09
- Re: lynx-dev Lynx character entity references fix, Klaus Weide, 1999/03/10
- Re: lynx-dev Lynx character entity references fix, Leonid Pauzner, 1999/03/11
- Re: lynx-dev Lynx character entity references fix, Klaus Weide, 1999/03/12