blob: 36ae8df0e70d6be3a82492a7e1f1ecb47e0df89e [file] [log] [blame]
Guido van Rossumc52c1e91995-09-27 16:22:08 +00001# Proposed entity definitions for HTML, taken from
2# http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_14.html
3
4entitydefs = {
5 'nbsp': chr(160), # no-break space
6 'iexcl': chr(161), # inverted exclamation mark
7 'cent': chr(162), # cent sign
8 'pound': chr(163), # pound sterling sign
9 'curren': chr(164), # general currency sign
10 'yen': chr(165), # yen sign
11 'brvbar': chr(166), # broken (vertical) bar
12 'sect': chr(167), # section sign
13 'uml': chr(168), # umlaut (dieresis)
14 'copy': chr(169), # copyright sign
15 'ordf': chr(170), # ordinal indicator, feminine
16 'laquo': chr(171), # angle quotation mark, left
17 'not': chr(172), # not sign
18 'shy': chr(173), # soft hyphen
19 'reg': chr(174), # registered sign
20 'macr': chr(175), # macron
21 'deg': chr(176), # degree sign
22 'plusmn': chr(177), # plus-or-minus sign
23 'sup2': chr(178), # superscript two
24 'sup3': chr(179), # superscript three
25 'acute': chr(180), # acute accent
26 'micro': chr(181), # micro sign
27 'para': chr(182), # pilcrow (paragraph sign)
28 'middot': chr(183), # middle dot
29 'cedil': chr(184), # cedilla
30 'sup1': chr(185), # superscript one
31 'ordm': chr(186), # ordinal indicator, masculine
32 'raquo': chr(187), # angle quotation mark, right
33 'frac14': chr(188), # fraction one-quarter
34 'frac12': chr(189), # fraction one-half
35 'frac34': chr(190), # fraction three-quarters
36 'iquest': chr(191), # inverted question mark
37 'Agrave': chr(192), # capital A, grave accent
38 'Aacute': chr(193), # capital A, acute accent
39 'Acirc': chr(194), # capital A, circumflex accent
40 'Atilde': chr(195), # capital A, tilde
41 'Auml': chr(196), # capital A, dieresis or umlaut mark
42 'Aring': chr(197), # capital A, ring
43 'AElig': chr(198), # capital AE diphthong (ligature)
44 'Ccedil': chr(199), # capital C, cedilla
45 'Egrave': chr(200), # capital E, grave accent
46 'Eacute': chr(201), # capital E, acute accent
47 'Ecirc': chr(202), # capital E, circumflex accent
48 'Euml': chr(203), # capital E, dieresis or umlaut mark
49 'Igrave': chr(204), # capital I, grave accent
50 'Iacute': chr(205), # capital I, acute accent
51 'Icirc': chr(206), # capital I, circumflex accent
52 'Iuml': chr(207), # capital I, dieresis or umlaut mark
53 'ETH': chr(208), # capital Eth, Icelandic
54 'Ntilde': chr(209), # capital N, tilde
55 'Ograve': chr(210), # capital O, grave accent
56 'Oacute': chr(211), # capital O, acute accent
57 'Ocirc': chr(212), # capital O, circumflex accent
58 'Otilde': chr(213), # capital O, tilde
59 'Ouml': chr(214), # capital O, dieresis or umlaut mark
60 'times': chr(215), # multiply sign
61 'Oslash': chr(216), # capital O, slash
62 'Ugrave': chr(217), # capital U, grave accent
63 'Uacute': chr(218), # capital U, acute accent
64 'Ucirc': chr(219), # capital U, circumflex accent
65 'Uuml': chr(220), # capital U, dieresis or umlaut mark
66 'Yacute': chr(221), # capital Y, acute accent
67 'THORN': chr(222), # capital THORN, Icelandic
68 'szlig': chr(223), # small sharp s, German (sz ligature)
69 'agrave': chr(224), # small a, grave accent
70 'aacute': chr(225), # small a, acute accent
71 'acirc': chr(226), # small a, circumflex accent
72 'atilde': chr(227), # small a, tilde
73 'auml': chr(228), # small a, dieresis or umlaut mark
74 'aring': chr(229), # small a, ring
75 'aelig': chr(230), # small ae diphthong (ligature)
76 'ccedil': chr(231), # small c, cedilla
77 'egrave': chr(232), # small e, grave accent
78 'eacute': chr(233), # small e, acute accent
79 'ecirc': chr(234), # small e, circumflex accent
80 'euml': chr(235), # small e, dieresis or umlaut mark
81 'igrave': chr(236), # small i, grave accent
82 'iacute': chr(237), # small i, acute accent
83 'icirc': chr(238), # small i, circumflex accent
84 'iuml': chr(239), # small i, dieresis or umlaut mark
85 'eth': chr(240), # small eth, Icelandic
86 'ntilde': chr(241), # small n, tilde
87 'ograve': chr(242), # small o, grave accent
88 'oacute': chr(243), # small o, acute accent
89 'ocirc': chr(244), # small o, circumflex accent
90 'otilde': chr(245), # small o, tilde
91 'ouml': chr(246), # small o, dieresis or umlaut mark
92 'divide': chr(247), # divide sign
93 'oslash': chr(248), # small o, slash
94 'ugrave': chr(249), # small u, grave accent
95 'uacute': chr(250), # small u, acute accent
96 'ucirc': chr(251), # small u, circumflex accent
97 'uuml': chr(252), # small u, dieresis or umlaut mark
98 'yacute': chr(253), # small y, acute accent
99 'thorn': chr(254), # small thorn, Icelandic
100 'yuml': chr(255), # small y, dieresis or umlaut mark
101}