1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
15 * The Original Code is mozilla.org code.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1999
20 * the Initial Developer. All Rights Reserved.
24 * Alternatively, the contents of this file may be used under the terms of
25 * either of the GNU General Public License Version 2 or later (the "GPL"),
26 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
40 This file contains the list of all HTML entities
41 See nsHTMLEntities.h for access to the enum values for entities
43 It is designed to be used as inline input to nsHTMLEntities.cpp *only*
44 through the magic of C preprocessing.
46 All entires must be enclosed in the macro HTML_ENTITY which will have cruel
47 and unusual things done to it
49 It is recommended (but not strictly necessary) to keep all entries
52 The first argument to HTML_ENTITY is the string value of the entity
53 The second argument it HTML_ENTITY is the unicode value of the entity
57 // ISO 8859-1 entities.
58 // See the HTML4.0 spec for this list in it's DTD form
59 HTML_ENTITY(nbsp
, 160)
60 HTML_ENTITY(iexcl
, 161)
61 HTML_ENTITY(cent
, 162)
62 HTML_ENTITY(pound
, 163)
63 HTML_ENTITY(curren
, 164)
65 HTML_ENTITY(brvbar
, 166)
66 HTML_ENTITY(sect
, 167)
68 HTML_ENTITY(copy
, 169)
69 HTML_ENTITY(ordf
, 170)
70 HTML_ENTITY(laquo
, 171)
74 HTML_ENTITY(macr
, 175)
76 HTML_ENTITY(plusmn
, 177)
77 HTML_ENTITY(sup2
, 178)
78 HTML_ENTITY(sup3
, 179)
79 HTML_ENTITY(acute
, 180)
80 HTML_ENTITY(micro
, 181)
81 HTML_ENTITY(para
, 182)
82 HTML_ENTITY(middot
, 183)
83 HTML_ENTITY(cedil
, 184)
84 HTML_ENTITY(sup1
, 185)
85 HTML_ENTITY(ordm
, 186)
86 HTML_ENTITY(raquo
, 187)
87 HTML_ENTITY(frac14
, 188)
88 HTML_ENTITY(frac12
, 189)
89 HTML_ENTITY(frac34
, 190)
90 HTML_ENTITY(iquest
, 191)
91 HTML_ENTITY(Agrave
, 192)
92 HTML_ENTITY(Aacute
, 193)
93 HTML_ENTITY(Acirc
, 194)
94 HTML_ENTITY(Atilde
, 195)
95 HTML_ENTITY(Auml
, 196)
96 HTML_ENTITY(Aring
, 197)
97 HTML_ENTITY(AElig
, 198)
98 HTML_ENTITY(Ccedil
, 199)
99 HTML_ENTITY(Egrave
, 200)
100 HTML_ENTITY(Eacute
, 201)
101 HTML_ENTITY(Ecirc
, 202)
102 HTML_ENTITY(Euml
, 203)
103 HTML_ENTITY(Igrave
, 204)
104 HTML_ENTITY(Iacute
, 205)
105 HTML_ENTITY(Icirc
, 206)
106 HTML_ENTITY(Iuml
, 207)
107 HTML_ENTITY(ETH
, 208)
108 HTML_ENTITY(Ntilde
, 209)
109 HTML_ENTITY(Ograve
, 210)
110 HTML_ENTITY(Oacute
, 211)
111 HTML_ENTITY(Ocirc
, 212)
112 HTML_ENTITY(Otilde
, 213)
113 HTML_ENTITY(Ouml
, 214)
114 HTML_ENTITY(times
, 215)
115 HTML_ENTITY(Oslash
, 216)
116 HTML_ENTITY(Ugrave
, 217)
117 HTML_ENTITY(Uacute
, 218)
118 HTML_ENTITY(Ucirc
, 219)
119 HTML_ENTITY(Uuml
, 220)
120 HTML_ENTITY(Yacute
, 221)
121 HTML_ENTITY(THORN
, 222)
122 HTML_ENTITY(szlig
, 223)
123 HTML_ENTITY(agrave
, 224)
124 HTML_ENTITY(aacute
, 225)
125 HTML_ENTITY(acirc
, 226)
126 HTML_ENTITY(atilde
, 227)
127 HTML_ENTITY(auml
, 228)
128 HTML_ENTITY(aring
, 229)
129 HTML_ENTITY(aelig
, 230)
130 HTML_ENTITY(ccedil
, 231)
131 HTML_ENTITY(egrave
, 232)
132 HTML_ENTITY(eacute
, 233)
133 HTML_ENTITY(ecirc
, 234)
134 HTML_ENTITY(euml
, 235)
135 HTML_ENTITY(igrave
, 236)
136 HTML_ENTITY(iacute
, 237)
137 HTML_ENTITY(icirc
, 238)
138 HTML_ENTITY(iuml
, 239)
139 HTML_ENTITY(eth
, 240)
140 HTML_ENTITY(ntilde
, 241)
141 HTML_ENTITY(ograve
, 242)
142 HTML_ENTITY(oacute
, 243)
143 HTML_ENTITY(ocirc
, 244)
144 HTML_ENTITY(otilde
, 245)
145 HTML_ENTITY(ouml
, 246)
146 HTML_ENTITY(divide
, 247)
147 HTML_ENTITY(oslash
, 248)
148 HTML_ENTITY(ugrave
, 249)
149 HTML_ENTITY(uacute
, 250)
150 HTML_ENTITY(ucirc
, 251)
151 HTML_ENTITY(uuml
, 252)
152 HTML_ENTITY(yacute
, 253)
153 HTML_ENTITY(thorn
, 254)
154 HTML_ENTITY(yuml
, 255)
156 // Symbols, mathematical symbols and Greek letters
157 // See the HTML4.0 spec for this list in it's DTD form
158 HTML_ENTITY(fnof
, 402)
159 HTML_ENTITY(Alpha
, 913)
160 HTML_ENTITY(Beta
, 914)
161 HTML_ENTITY(Gamma
, 915)
162 HTML_ENTITY(Delta
, 916)
163 HTML_ENTITY(Epsilon
, 917)
164 HTML_ENTITY(Zeta
, 918)
165 HTML_ENTITY(Eta
, 919)
166 HTML_ENTITY(Theta
, 920)
167 HTML_ENTITY(Iota
, 921)
168 HTML_ENTITY(Kappa
, 922)
169 HTML_ENTITY(Lambda
, 923)
173 HTML_ENTITY(Omicron
, 927)
175 HTML_ENTITY(Rho
, 929)
176 HTML_ENTITY(Sigma
, 931)
177 HTML_ENTITY(Tau
, 932)
178 HTML_ENTITY(Upsilon
, 933)
179 HTML_ENTITY(Phi
, 934)
180 HTML_ENTITY(Chi
, 935)
181 HTML_ENTITY(Psi
, 936)
182 HTML_ENTITY(Omega
, 937)
183 HTML_ENTITY(alpha
, 945)
184 HTML_ENTITY(beta
, 946)
185 HTML_ENTITY(gamma
, 947)
186 HTML_ENTITY(delta
, 948)
187 HTML_ENTITY(epsilon
, 949)
188 HTML_ENTITY(zeta
, 950)
189 HTML_ENTITY(eta
, 951)
190 HTML_ENTITY(theta
, 952)
191 HTML_ENTITY(iota
, 953)
192 HTML_ENTITY(kappa
, 954)
193 HTML_ENTITY(lambda
, 955)
197 HTML_ENTITY(omicron
, 959)
199 HTML_ENTITY(rho
, 961)
200 HTML_ENTITY(sigmaf
, 962)
201 HTML_ENTITY(sigma
, 963)
202 HTML_ENTITY(tau
, 964)
203 HTML_ENTITY(upsilon
, 965)
204 HTML_ENTITY(phi
, 966)
205 HTML_ENTITY(chi
, 967)
206 HTML_ENTITY(psi
, 968)
207 HTML_ENTITY(omega
, 969)
208 HTML_ENTITY(thetasym
, 977)
209 HTML_ENTITY(upsih
, 978)
210 HTML_ENTITY(piv
, 982)
211 HTML_ENTITY(bull
, 8226)
212 HTML_ENTITY(hellip
, 8230)
213 HTML_ENTITY(prime
, 8242)
214 HTML_ENTITY(Prime
, 8243)
215 HTML_ENTITY(oline
, 8254)
216 HTML_ENTITY(frasl
, 8260)
217 HTML_ENTITY(weierp
, 8472)
218 HTML_ENTITY(image
, 8465)
219 HTML_ENTITY(real
, 8476)
220 HTML_ENTITY(trade
, 8482)
221 HTML_ENTITY(alefsym
, 8501)
222 HTML_ENTITY(larr
, 8592)
223 HTML_ENTITY(uarr
, 8593)
224 HTML_ENTITY(rarr
, 8594)
225 HTML_ENTITY(darr
, 8595)
226 HTML_ENTITY(harr
, 8596)
227 HTML_ENTITY(crarr
, 8629)
228 HTML_ENTITY(lArr
, 8656)
229 HTML_ENTITY(uArr
, 8657)
230 HTML_ENTITY(rArr
, 8658)
231 HTML_ENTITY(dArr
, 8659)
232 HTML_ENTITY(hArr
, 8660)
233 HTML_ENTITY(forall
, 8704)
234 HTML_ENTITY(part
, 8706)
235 HTML_ENTITY(exist
, 8707)
236 HTML_ENTITY(empty
, 8709)
237 HTML_ENTITY(nabla
, 8711)
238 HTML_ENTITY(isin
, 8712)
239 HTML_ENTITY(notin
, 8713)
240 HTML_ENTITY(ni
, 8715)
241 HTML_ENTITY(prod
, 8719)
242 HTML_ENTITY(sum
, 8721)
243 HTML_ENTITY(minus
, 8722)
244 HTML_ENTITY(lowast
, 8727)
245 HTML_ENTITY(radic
, 8730)
246 HTML_ENTITY(prop
, 8733)
247 HTML_ENTITY(infin
, 8734)
248 HTML_ENTITY(ang
, 8736)
249 HTML_ENTITY(and, 8743)
250 HTML_ENTITY(or, 8744)
251 HTML_ENTITY(cap
, 8745)
252 HTML_ENTITY(cup
, 8746)
253 HTML_ENTITY(int, 8747)
254 HTML_ENTITY(there4
, 8756)
255 HTML_ENTITY(sim
, 8764)
256 HTML_ENTITY(cong
, 8773)
257 HTML_ENTITY(asymp
, 8776)
258 HTML_ENTITY(ne
, 8800)
259 HTML_ENTITY(equiv
, 8801)
260 HTML_ENTITY(le
, 8804)
261 HTML_ENTITY(ge
, 8805)
262 HTML_ENTITY(sub
, 8834)
263 HTML_ENTITY(sup
, 8835)
264 HTML_ENTITY(nsub
, 8836)
265 HTML_ENTITY(sube
, 8838)
266 HTML_ENTITY(supe
, 8839)
267 HTML_ENTITY(oplus
, 8853)
268 HTML_ENTITY(otimes
, 8855)
269 HTML_ENTITY(perp
, 8869)
270 HTML_ENTITY(sdot
, 8901)
271 HTML_ENTITY(lceil
, 8968)
272 HTML_ENTITY(rceil
, 8969)
273 HTML_ENTITY(lfloor
, 8970)
274 HTML_ENTITY(rfloor
, 8971)
275 HTML_ENTITY(lang
, 9001)
276 HTML_ENTITY(rang
, 9002)
277 HTML_ENTITY(loz
, 9674)
278 HTML_ENTITY(spades
, 9824)
279 HTML_ENTITY(clubs
, 9827)
280 HTML_ENTITY(hearts
, 9829)
281 HTML_ENTITY(diams
, 9830)
283 // Markup-significant and internationalization characters
284 // See the HTML4.0 spec for this list in it's DTD form
285 HTML_ENTITY(quot
, 34)
289 HTML_ENTITY(OElig
, 338)
290 HTML_ENTITY(oelig
, 339)
291 HTML_ENTITY(Scaron
, 352)
292 HTML_ENTITY(scaron
, 353)
293 HTML_ENTITY(Yuml
, 376)
294 HTML_ENTITY(circ
, 710)
295 HTML_ENTITY(tilde
, 732)
296 HTML_ENTITY(ensp
, 8194)
297 HTML_ENTITY(emsp
, 8195)
298 HTML_ENTITY(thinsp
, 8201)
299 HTML_ENTITY(zwnj
, 8204)
300 HTML_ENTITY(zwj
, 8205)
301 HTML_ENTITY(lrm
, 8206)
302 HTML_ENTITY(rlm
, 8207)
303 HTML_ENTITY(ndash
, 8211)
304 HTML_ENTITY(mdash
, 8212)
305 HTML_ENTITY(lsquo
, 8216)
306 HTML_ENTITY(rsquo
, 8217)
307 HTML_ENTITY(sbquo
, 8218)
308 HTML_ENTITY(ldquo
, 8220)
309 HTML_ENTITY(rdquo
, 8221)
310 HTML_ENTITY(bdquo
, 8222)
311 HTML_ENTITY(dagger
, 8224)
312 HTML_ENTITY(Dagger
, 8225)
313 HTML_ENTITY(permil
, 8240)
314 HTML_ENTITY(lsaquo
, 8249)
315 HTML_ENTITY(rsaquo
, 8250)
316 HTML_ENTITY(euro
, 8364)
318 // Navigator entity extensions
319 // This block of entities needs to be at the bottom of the list since it
320 // contains duplicate Unicode codepoints. The codepoint to entity name
321 // mapping (used by Composer) must ignores them, which occurs only
322 // because they are listed later.
325 HTML_ENTITY(apos
, 39)
326 // The capitalized versions are required to handle non-standard input.
328 HTML_ENTITY(COPY
, 169)
331 HTML_ENTITY(QUOT
, 34)
332 HTML_ENTITY(REG
, 174)