]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - EPub.HtmlEntities.php
376b61336740976a645652e0b983da83052dd592
3 * This should be a complete list of all HTML entities, mapped to their UTF-8 character codes.
6 * @copyright A. Grandt 2009-2013
7 * @license GNU LGPL, Attribution required for commercial implementations, requested for everything else.
11 $htmlEntities = array();
13 $htmlEntities["""] ="\x22"; // " ((double) quotation mark)
14 $htmlEntities["&"] ="\x26"; // & (ampersand)
15 $htmlEntities["'"] ="\x27"; // ' (apostrophe = apostrophe-quote)
16 $htmlEntities["<"] ="\x3C"; // < (less-than sign)
17 $htmlEntities[">"] ="\x3E"; // > (greater-than sign)
18 $htmlEntities[" "] ="\xC2\xA0"; //   (non-breaking space)
19 $htmlEntities["¡"] ="\xC2\xA1"; // ¡ (inverted exclamation mark)
20 $htmlEntities["¢"] ="\xC2\xA2"; // ¢ (cent)
21 $htmlEntities["£"] ="\xC2\xA3"; // £ (pound)
22 $htmlEntities["¤"] ="\xC2\xA4"; // ¤ (currency)
23 $htmlEntities["¥"] ="\xC2\xA5"; // ¥ (yen)
24 $htmlEntities["¦"] ="\xC2\xA6"; // ¦ (broken vertical bar)
25 $htmlEntities["§"] ="\xC2\xA7"; // § (section)
26 $htmlEntities["¨"] ="\xC2\xA8"; // ¨ (spacing diaeresis)
27 $htmlEntities["©"] ="\xC2\xA9"; // © (copyright)
28 $htmlEntities["ª"] ="\xC2\xAA"; // ª (feminine ordinal indicator)
29 $htmlEntities["«"] ="\xC2\xAB"; // « (angle quotation mark (left))
30 $htmlEntities["¬"] ="\xC2\xAC"; // ¬ (negation)
31 $htmlEntities["­"] ="\xC2\xAD"; // ­ (soft hyphen)
32 $htmlEntities["®"] ="\xC2\xAE"; // ® (registered trademark)
33 $htmlEntities["¯"] ="\xC2\xAF"; // ¯ (spacing macron)
34 $htmlEntities["°"] ="\xC2\xB0"; // ° (degree)
35 $htmlEntities["±"] ="\xC2\xB1"; // ± (plus-or-minus)
36 $htmlEntities["²"] ="\xC2\xB2"; // ² (superscript 2)
37 $htmlEntities["³"] ="\xC2\xB3"; // ³ (superscript 3)
38 $htmlEntities["´"] ="\xC2\xB4"; // ´ (spacing acute)
39 $htmlEntities["µ"] ="\xC2\xB5"; // µ (micro)
40 $htmlEntities["¶"] ="\xC2\xB6"; // ¶ (paragraph)
41 $htmlEntities["·"] ="\xC2\xB7"; // · (middle dot)
42 $htmlEntities["¸"] ="\xC2\xB8"; // ¸ (spacing cedilla)
43 $htmlEntities["¹"] ="\xC2\xB9"; // ¹ (superscript 1)
44 $htmlEntities["º"] ="\xC2\xBA"; // º (masculine ordinal indicator)
45 $htmlEntities["»"] ="\xC2\xBB"; // » (angle quotation mark (right))
46 $htmlEntities["¼"] ="\xC2\xBC"; // ¼ (fraction 1/4)
47 $htmlEntities["½"] ="\xC2\xBD"; // ½ (fraction 1/2)
48 $htmlEntities["¾"] ="\xC2\xBE"; // ¾ (fraction 3/4)
49 $htmlEntities["¿"] ="\xC2\xBF"; // ¿ (inverted question mark)
50 $htmlEntities["À"] ="\xC3\x80"; // À (capital a, grave accent)
51 $htmlEntities["Á"] ="\xC3\x81"; // Á (capital a, acute accent)
52 $htmlEntities["Â"] ="\xC3\x82"; // Â (capital a, circumflex accent)
53 $htmlEntities["Ã"] ="\xC3\x83"; // Ã (capital a, tilde)
54 $htmlEntities["Ä"] ="\xC3\x84"; // Ä (capital a, umlaut mark)
55 $htmlEntities["Å"] ="\xC3\x85"; // Å (capital a, ring)
56 $htmlEntities["Æ"] ="\xC3\x86"; // Æ (capital ae)
57 $htmlEntities["Ç"] ="\xC3\x87"; // Ç (capital c, cedilla)
58 $htmlEntities["È"] ="\xC3\x88"; // È (capital e, grave accent)
59 $htmlEntities["É"] ="\xC3\x89"; // É (capital e, acute accent)
60 $htmlEntities["Ê"] ="\xC3\x8A"; // Ê (capital e, circumflex accent)
61 $htmlEntities["Ë"] ="\xC3\x8B"; // Ë (capital e, umlaut mark)
62 $htmlEntities["Ì"] ="\xC3\x8C"; // Ì (capital i, grave accent)
63 $htmlEntities["Í"] ="\xC3\x8D"; // Í (capital i, acute accent)
64 $htmlEntities["Î"] ="\xC3\x8E"; // Î (capital i, circumflex accent)
65 $htmlEntities["Ï"] ="\xC3\x8F"; // Ï (capital i, umlaut mark)
66 $htmlEntities["Ð"] ="\xC3\x90"; // Ð (capital eth, Icelandic)
67 $htmlEntities["Ñ"] ="\xC3\x91"; // Ñ (capital n, tilde)
68 $htmlEntities["Ò"] ="\xC3\x92"; // Ò (capital o, grave accent)
69 $htmlEntities["Ó"] ="\xC3\x93"; // Ó (capital o, acute accent)
70 $htmlEntities["Ô"] ="\xC3\x94"; // Ô (capital o, circumflex accent)
71 $htmlEntities["Õ"] ="\xC3\x95"; // Õ (capital o, tilde)
72 $htmlEntities["Ö"] ="\xC3\x96"; // Ö (capital o, umlaut mark)
73 $htmlEntities["×"] ="\xC3\x97"; // × (multiplication)
74 $htmlEntities["Ø"] ="\xC3\x98"; // Ø (capital o, slash)
75 $htmlEntities["Ù"] ="\xC3\x99"; // Ù (capital u, grave accent)
76 $htmlEntities["Ú"] ="\xC3\x9A"; // Ú (capital u, acute accent)
77 $htmlEntities["Û"] ="\xC3\x9B"; // Û (capital u, circumflex accent)
78 $htmlEntities["Ü"] ="\xC3\x9C"; // Ü (capital u, umlaut mark)
79 $htmlEntities["Ý"] ="\xC3\x9D"; // Ý (capital y, acute accent)
80 $htmlEntities["Þ"] ="\xC3\x9E"; // Þ (capital THORN, Icelandic)
81 $htmlEntities["ß"] ="\xC3\x9F"; // ß (small sharp s, German)
82 $htmlEntities["à"] ="\xC3\xA0"; // à (small a, grave accent)
83 $htmlEntities["á"] ="\xC3\xA1"; // á (small a, acute accent)
84 $htmlEntities["â"] ="\xC3\xA2"; // â (small a, circumflex accent)
85 $htmlEntities["ã"] ="\xC3\xA3"; // ã (small a, tilde)
86 $htmlEntities["ä"] ="\xC3\xA4"; // ä (small a, umlaut mark)
87 $htmlEntities["å"] ="\xC3\xA5"; // å (small a, ring)
88 $htmlEntities["æ"] ="\xC3\xA6"; // æ (small ae)
89 $htmlEntities["ç"] ="\xC3\xA7"; // ç (small c, cedilla)
90 $htmlEntities["è"] ="\xC3\xA8"; // è (small e, grave accent)
91 $htmlEntities["é"] ="\xC3\xA9"; // é (small e, acute accent)
92 $htmlEntities["ê"] ="\xC3\xAA"; // ê (small e, circumflex accent)
93 $htmlEntities["ë"] ="\xC3\xAB"; // ë (small e, umlaut mark)
94 $htmlEntities["ì"] ="\xC3\xAC"; // ì (small i, grave accent)
95 $htmlEntities["í"] ="\xC3\xAD"; // í (small i, acute accent)
96 $htmlEntities["î"] ="\xC3\xAE"; // î (small i, circumflex accent)
97 $htmlEntities["ï"] ="\xC3\xAF"; // ï (small i, umlaut mark)
98 $htmlEntities["ð"] ="\xC3\xB0"; // ð (small eth, Icelandic)
99 $htmlEntities["ñ"] ="\xC3\xB1"; // ñ (small n, tilde)
100 $htmlEntities["ò"] ="\xC3\xB2"; // ò (small o, grave accent)
101 $htmlEntities["ó"] ="\xC3\xB3"; // ó (small o, acute accent)
102 $htmlEntities["ô"] ="\xC3\xB4"; // ô (small o, circumflex accent)
103 $htmlEntities["õ"] ="\xC3\xB5"; // õ (small o, tilde)
104 $htmlEntities["ö"] ="\xC3\xB6"; // ö (small o, umlaut mark)
105 $htmlEntities["÷"] ="\xC3\xB7"; // ÷ (division)
106 $htmlEntities["ø"] ="\xC3\xB8"; // ø (small o, slash)
107 $htmlEntities["ù"] ="\xC3\xB9"; // ù (small u, grave accent)
108 $htmlEntities["ú"] ="\xC3\xBA"; // ú (small u, acute accent)
109 $htmlEntities["û"] ="\xC3\xBB"; // û (small u, circumflex accent)
110 $htmlEntities["ü"] ="\xC3\xBC"; // ü (small u, umlaut mark)
111 $htmlEntities["ý"] ="\xC3\xBD"; // ý (small y, acute accent)
112 $htmlEntities["þ"] ="\xC3\xBE"; // þ (small thorn, Icelandic)
113 $htmlEntities["ÿ"] ="\xC3\xBF"; // ÿ (small y, umlaut mark)
114 $htmlEntities["Œ"] ="\xC5\x92"; // Œ (capital ligature OE)
115 $htmlEntities["œ"] ="\xC5\x93"; // œ (small ligature oe)
116 $htmlEntities["Š"] ="\xC5\xA0"; // Š (capital S with caron)
117 $htmlEntities["š"] ="\xC5\xA1"; // š (small S with caron)
118 $htmlEntities["Ÿ"] ="\xC5\xB8"; // Ÿ (capital Y with diaeres)
119 $htmlEntities["ƒ"] ="\xC6\x92"; // ƒ (f with hook)
120 $htmlEntities["ˆ"] ="\xCB\x86"; // ˆ (modifier letter circumflex accent)
121 $htmlEntities["˜"] ="\xCB\x9C"; // ˜ (small tilde)
122 $htmlEntities["Α"] ="\xCE\x91"; // Α (Alpha)
123 $htmlEntities["Β"] ="\xCE\x92"; // Β (Beta)
124 $htmlEntities["Γ"] ="\xCE\x93"; // Γ (Gamma)
125 $htmlEntities["Δ"] ="\xCE\x94"; // Δ (Delta)
126 $htmlEntities["Ε"] ="\xCE\x95"; // Ε (Epsilon)
127 $htmlEntities["Ζ"] ="\xCE\x96"; // Ζ (Zeta)
128 $htmlEntities["Η"] ="\xCE\x97"; // Η (Eta)
129 $htmlEntities["Θ"] ="\xCE\x98"; // Θ (Theta)
130 $htmlEntities["Ι"] ="\xCE\x99"; // Ι (Iota)
131 $htmlEntities["Κ"] ="\xCE\x9A"; // Κ (Kappa)
132 $htmlEntities["Λ"] ="\xCE\x9B"; // Λ (Lambda)
133 $htmlEntities["Μ"] ="\xCE\x9C"; // Μ (Mu)
134 $htmlEntities["Ν"] ="\xCE\x9D"; // Ν (Nu)
135 $htmlEntities["Ξ"] ="\xCE\x9E"; // Ξ (Xi)
136 $htmlEntities["Ο"] ="\xCE\x9F"; // Ο (Omicron)
137 $htmlEntities["Π"] ="\xCE\xA0"; // Π (Pi)
138 $htmlEntities["Ρ"] ="\xCE\xA1"; // Ρ (Rho)
139 $htmlEntities["Σ"] ="\xCE\xA3"; // Σ (Sigma)
140 $htmlEntities["Τ"] ="\xCE\xA4"; // Τ (Tau)
141 $htmlEntities["Υ"] ="\xCE\xA5"; // Υ (Upsilon)
142 $htmlEntities["Φ"] ="\xCE\xA6"; // Φ (Phi)
143 $htmlEntities["Χ"] ="\xCE\xA7"; // Χ (Chi)
144 $htmlEntities["Ψ"] ="\xCE\xA8"; // Ψ (Psi)
145 $htmlEntities["Ω"] ="\xCE\xA9"; // Ω (Omega)
146 $htmlEntities["α"] ="\xCE\xB1"; // α (alpha)
147 $htmlEntities["β"] ="\xCE\xB2"; // β (beta)
148 $htmlEntities["γ"] ="\xCE\xB3"; // γ (gamma)
149 $htmlEntities["δ"] ="\xCE\xB4"; // δ (delta)
150 $htmlEntities["ε"] ="\xCE\xB5"; // ε (epsilon)
151 $htmlEntities["ζ"] ="\xCE\xB6"; // ζ (zeta)
152 $htmlEntities["η"] ="\xCE\xB7"; // η (eta)
153 $htmlEntities["θ"] ="\xCE\xB8"; // θ (theta)
154 $htmlEntities["ι"] ="\xCE\xB9"; // ι (iota)
155 $htmlEntities["κ"] ="\xCE\xBA"; // κ (kappa)
156 $htmlEntities["λ"] ="\xCE\xBB"; // λ (lambda)
157 $htmlEntities["μ"] ="\xCE\xBC"; // μ (mu)
158 $htmlEntities["ν"] ="\xCE\xBD"; // ν (nu)
159 $htmlEntities["ξ"] ="\xCE\xBE"; // ξ (xi)
160 $htmlEntities["ο"] ="\xCE\xBF"; // ο (omicron)
161 $htmlEntities["π"] ="\xCF\x80"; // π (pi)
162 $htmlEntities["ρ"] ="\xCF\x81"; // ρ (rho)
163 $htmlEntities["ς"] ="\xCF\x82"; // ς (sigmaf)
164 $htmlEntities["σ"] ="\xCF\x83"; // σ (sigma)
165 $htmlEntities["τ"] ="\xCF\x84"; // τ (tau)
166 $htmlEntities["υ"] ="\xCF\x85"; // υ (upsilon)
167 $htmlEntities["φ"] ="\xCF\x86"; // φ (phi)
168 $htmlEntities["χ"] ="\xCF\x87"; // χ (chi)
169 $htmlEntities["ψ"] ="\xCF\x88"; // ψ (psi)
170 $htmlEntities["ω"] ="\xCF\x89"; // ω (omega)
171 $htmlEntities["ϑ"] ="\xCF\x91"; // ϑ (theta symbol)
172 $htmlEntities["ϒ"] ="\xCF\x92"; // ϒ (upsilon symbol)
173 $htmlEntities["ϖ"] ="\xCF\x96"; // ϖ (pi symbol)
174 $htmlEntities[" "] ="\xE2\x80\x82"; //   (en space)
175 $htmlEntities[" "] ="\xE2\x80\x83"; //   (em space)
176 $htmlEntities[" "] ="\xE2\x80\x89"; //   (thin space)
177 $htmlEntities["‌"] ="\xE2\x80\x8C"; // ‌ (zero width non-joiner)
178 $htmlEntities["‍"] ="\xE2\x80\x8D"; // ‍ (zero width joiner)
179 $htmlEntities["‎"] ="\xE2\x80\x8E"; // ‎ (left-to-right mark)
180 $htmlEntities["‏"] ="\xE2\x80\x8F"; // ‏ (right-to-left mark)
181 $htmlEntities["–"] ="\xE2\x80\x93"; // – (en dash)
182 $htmlEntities["—"] ="\xE2\x80\x94"; // — (em dash)
183 $htmlEntities["‘"] ="\xE2\x80\x98"; // ‘ (left single quotation mark)
184 $htmlEntities["’"] ="\xE2\x80\x99"; // ’ (right single quotation mark)
185 $htmlEntities["‚"] ="\xE2\x80\x9A"; // ‚ (single low-9 quotation mark)
186 $htmlEntities["“"] ="\xE2\x80\x9C"; // “ (left double quotation mark)
187 $htmlEntities["”"] ="\xE2\x80\x9D"; // ” (right double quotation mark)
188 $htmlEntities["„"] ="\xE2\x80\x9E"; // „ (double low-9 quotation mark)
189 $htmlEntities["†"] ="\xE2\x80\xA0"; // † (dagger)
190 $htmlEntities["‡"] ="\xE2\x80\xA1"; // ‡ (double dagger)
191 $htmlEntities["•"] ="\xE2\x80\xA2"; // • (bullet)
192 $htmlEntities["…"] ="\xE2\x80\xA6"; // … (horizontal ellipsis)
193 $htmlEntities["‰"] ="\xE2\x80\xB0"; // ‰ (per mille)
194 $htmlEntities["′"] ="\xE2\x80\xB2"; // ′ (minutes or prime)
195 $htmlEntities["″"] ="\xE2\x80\xB3"; // ″ (seconds or Double Prime)
196 $htmlEntities["‹"] ="\xE2\x80\xB9"; // ‹ (single left angle quotation)
197 $htmlEntities["›"] ="\xE2\x80\xBA"; // › (single right angle quotation)
198 $htmlEntities["‾"] ="\xE2\x80\xBE"; // ‾ (overline)
199 $htmlEntities["⁄"] ="\xE2\x81\x84"; // ⁄ (fraction slash)
200 $htmlEntities["€"] ="\xE2\x82\xAC"; // € (euro)
201 $htmlEntities["ℑ"] ="\xE2\x84\x91"; // ℑ (blackletter capital I)
202 $htmlEntities["℘"] ="\xE2\x84\x98"; // ℘ (script capital P)
203 $htmlEntities["ℜ"] ="\xE2\x84\x9C"; // ℜ (blackletter capital R)
204 $htmlEntities["™"] ="\xE2\x84\xA2"; // ™ (trademark)
205 $htmlEntities["ℵ"] ="\xE2\x84\xB5"; // ℵ (alef)
206 $htmlEntities["←"] ="\xE2\x86\x90"; // ← (left arrow)
207 $htmlEntities["↑"] ="\xE2\x86\x91"; // ↑ (up arrow)
208 $htmlEntities["→"] ="\xE2\x86\x92"; // → (right arrow)
209 $htmlEntities["↓"] ="\xE2\x86\x93"; // ↓ (down arrow)
210 $htmlEntities["↔"] ="\xE2\x86\x94"; // ↔ (left right arrow)
211 $htmlEntities["↵"] ="\xE2\x86\xB5"; // ↵ (carriage return arrow)
212 $htmlEntities["⇐"] ="\xE2\x87\x90"; // ⇐ (left double arrow)
213 $htmlEntities["⇑"] ="\xE2\x87\x91"; // ⇑ (up double arrow)
214 $htmlEntities["⇒"] ="\xE2\x87\x92"; // ⇒ (right double arrow)
215 $htmlEntities["⇓"] ="\xE2\x87\x93"; // ⇓ (down double arrow)
216 $htmlEntities["⇔"] ="\xE2\x87\x94"; // ⇔ (left right double arrow)
217 $htmlEntities["∀"] ="\xE2\x88\x80"; // ∀ (for all)
218 $htmlEntities["∂"] ="\xE2\x88\x82"; // ∂ (partial differential)
219 $htmlEntities["∃"] ="\xE2\x88\x83"; // ∃ (there exists)
220 $htmlEntities["∅"] ="\xE2\x88\x85"; // ∅ (empty set)
221 $htmlEntities["∇"] ="\xE2\x88\x87"; // ∇ (backward difference)
222 $htmlEntities["∈"] ="\xE2\x88\x88"; // ∈ (element of)
223 $htmlEntities["∉"] ="\xE2\x88\x89"; // ∉ (not an element of)
224 $htmlEntities["∋"] ="\xE2\x88\x8B"; // ∋ (ni = contains as member)
225 $htmlEntities["∏"] ="\xE2\x88\x8F"; // ∏ (n-ary product)
226 $htmlEntities["∑"] ="\xE2\x88\x91"; // ∑ (n-ary sumation)
227 $htmlEntities["−"] ="\xE2\x88\x92"; // − (minus)
228 $htmlEntities["∗"] ="\xE2\x88\x97"; // ∗ (asterisk operator)
229 $htmlEntities["√"] ="\xE2\x88\x9A"; // √ (square root)
230 $htmlEntities["∝"] ="\xE2\x88\x9D"; // ∝ (proportional to)
231 $htmlEntities["∞"] ="\xE2\x88\x9E"; // ∞ (infinity)
232 $htmlEntities["∠"] ="\xE2\x88\xA0"; // ∠ (angle)
233 $htmlEntities["∧"] ="\xE2\x88\xA7"; // ∧ (logical and)
234 $htmlEntities["∨"] ="\xE2\x88\xA8"; // ∨ (logical or)
235 $htmlEntities["∩"] ="\xE2\x88\xA9"; // ∩ (intersection)
236 $htmlEntities["∪"] ="\xE2\x88\xAA"; // ∪ (union)
237 $htmlEntities["∫"] ="\xE2\x88\xAB"; // ∫ (integral)
238 $htmlEntities["∴"] ="\xE2\x88\xB4"; // ∴ (therefore)
239 $htmlEntities["∼"] ="\xE2\x88\xBC"; // ∼ (similar to)
240 $htmlEntities["≅"] ="\xE2\x89\x85"; // ≅ (congruent to)
241 $htmlEntities["≈"] ="\xE2\x89\x88"; // ≈ (approximately equal)
242 $htmlEntities["≠"] ="\xE2\x89\xA0"; // ≠ (not equal)
243 $htmlEntities["≡"] ="\xE2\x89\xA1"; // ≡ (equivalent)
244 $htmlEntities["≤"] ="\xE2\x89\xA4"; // ≤ (less or equal)
245 $htmlEntities["≥"] ="\xE2\x89\xA5"; // ≥ (greater or equal)
246 $htmlEntities["⊂"] ="\xE2\x8A\x82"; // ⊂ (subset of)
247 $htmlEntities["⊃"] ="\xE2\x8A\x83"; // ⊃ (superset of)
248 $htmlEntities["⊄"] ="\xE2\x8A\x84"; // ⊄ (not subset of)
249 $htmlEntities["⊆"] ="\xE2\x8A\x86"; // ⊆ (subset or equal)
250 $htmlEntities["⊇"] ="\xE2\x8A\x87"; // ⊇ (superset or equal)
251 $htmlEntities["⊕"] ="\xE2\x8A\x95"; // ⊕ (circled plus)
252 $htmlEntities["⊗"] ="\xE2\x8A\x87"; // ⊗ (circled times)
253 $htmlEntities["⊥"] ="\xE2\x8A\xA5"; // ⊥ (perpendicular)
254 $htmlEntities["⋅"] ="\xE2\x8C\x85"; // ⋅ (dot operator)
255 $htmlEntities["⌈"] ="\xE2\x8C\x88"; // ⌈ (left ceiling)
256 $htmlEntities["⌉"] ="\xE2\x8C\x89"; // ⌉ (right ceiling)
257 $htmlEntities["⌊"] ="\xE2\x8C\x8A"; // ⌊ (left floor)
258 $htmlEntities["⌋"] ="\xE2\x8C\x8B"; // ⌋ (right floor)
259 $htmlEntities["⟨"] ="\xE2\x8C\xA9"; // 〈 (left angle bracket = bra)
260 $htmlEntities["⟩"] ="\xE2\x8C\xAA"; // 〉 (right angle bracket = ket)
261 $htmlEntities["◊"] ="\xE2\x97\x8A"; // ◊ (lozenge)
262 $htmlEntities["♠"] ="\xE2\x99\xA0"; // ♠ (spade)
263 $htmlEntities["♣"] ="\xE2\x99\xA3"; // ♣ (club)
264 $htmlEntities["♥"] ="\xE2\x99\xA5"; // ♥ (heart)
265 $htmlEntities["♦"] ="\xE2\x99\xA6"; // ♦ (diamond)