alphanormalize_php
v.03.00.03 — June 17, 2020
html_entities_entitydefs.inc
Go to the documentation of this file.
1
<?php
// -*- coding: utf-8 -*-
2
3
/** \file html_entities_entitydefs.inc
4
* (December 31, 2013)
5
*
6
* \brief Name of XHTML entities to characters.
7
*
8
* Piece of alphanormalize_php.
9
* https://bitbucket.org/OPiMedia/alphanormalize_php
10
*
11
* GPLv3 --- Copyright (C) 2013 Olivier Pirson
12
* http://www.opimedia.be/
13
*/
14
15
16
/**
17
* Associative table: name of XHTML entity => corresponding character.
18
*
19
* For example: <code>'eacute'</code> => <code>'é'</code>.
20
*
21
* (This is a copy of the Python table <code>html.entities.entitydefs</code>:
22
* "A dictionary mapping XHTML 1.0 entity definitions to their replacement text in ISO Latin-1."
23
* http://docs.python.org/py3k/library/html.entities.html#module-html.entities .)
24
*/
25
$HTML_ENTITIES_ENTITYDEFS
= array(
26
'AElig'
=>
'Æ'
,
27
'Aacute'
=>
'Á'
,
28
'Acirc'
=>
'Â'
,
29
'Agrave'
=>
'À'
,
30
'Alpha'
=>
'Α'
,
31
'Aring'
=>
'Å'
,
32
'Atilde'
=>
'Ã'
,
33
'Auml'
=>
'Ä'
,
34
'Beta'
=>
'Β'
,
35
'Ccedil'
=>
'Ç'
,
36
'Chi'
=>
'Χ'
,
37
'Dagger'
=>
'‡'
,
38
'Delta'
=>
'Δ'
,
39
'ETH'
=>
'Ð'
,
40
'Eacute'
=>
'É'
,
41
'Ecirc'
=>
'Ê'
,
42
'Egrave'
=>
'È'
,
43
'Epsilon'
=>
'Ε'
,
44
'Eta'
=>
'Η'
,
45
'Euml'
=>
'Ë'
,
46
'Gamma'
=>
'Γ'
,
47
'Iacute'
=>
'Í'
,
48
'Icirc'
=>
'Î'
,
49
'Igrave'
=>
'Ì'
,
50
'Iota'
=>
'Ι'
,
51
'Iuml'
=>
'Ï'
,
52
'Kappa'
=>
'Κ'
,
53
'Lambda'
=>
'Λ'
,
54
'Mu'
=>
'Μ'
,
55
'Ntilde'
=>
'Ñ'
,
56
'Nu'
=>
'Ν'
,
57
'OElig'
=>
'Œ'
,
58
'Oacute'
=>
'Ó'
,
59
'Ocirc'
=>
'Ô'
,
60
'Ograve'
=>
'Ò'
,
61
'Omega'
=>
'Ω'
,
62
'Omicron'
=>
'Ο'
,
63
'Oslash'
=>
'Ø'
,
64
'Otilde'
=>
'Õ'
,
65
'Ouml'
=>
'Ö'
,
66
'Phi'
=>
'Φ'
,
67
'Pi'
=>
'Π'
,
68
'Prime'
=>
'″'
,
69
'Psi'
=>
'Ψ'
,
70
'Rho'
=>
'Ρ'
,
71
'Scaron'
=>
'Š'
,
72
'Sigma'
=>
'Σ'
,
73
'THORN'
=>
'Þ'
,
74
'Tau'
=>
'Τ'
,
75
'Theta'
=>
'Θ'
,
76
'Uacute'
=>
'Ú'
,
77
'Ucirc'
=>
'Û'
,
78
'Ugrave'
=>
'Ù'
,
79
'Upsilon'
=>
'Υ'
,
80
'Uuml'
=>
'Ü'
,
81
'Xi'
=>
'Ξ'
,
82
'Yacute'
=>
'Ý'
,
83
'Yuml'
=>
'Ÿ'
,
84
'Zeta'
=>
'Ζ'
,
85
'aacute'
=>
'á'
,
86
'acirc'
=>
'â'
,
87
'acute'
=>
'´'
,
88
'aelig'
=>
'æ'
,
89
'agrave'
=>
'à'
,
90
'alefsym'
=>
'ℵ'
,
91
'alpha'
=>
'α'
,
92
'amp'
=>
'&'
,
93
'and'
=>
'∧'
,
94
'ang'
=>
'∠'
,
95
'aring'
=>
'å'
,
96
'asymp'
=>
'≈'
,
97
'atilde'
=>
'ã'
,
98
'auml'
=>
'ä'
,
99
'bdquo'
=>
'„'
,
100
'beta'
=>
'β'
,
101
'brvbar'
=>
'¦'
,
102
'bull'
=>
'•'
,
103
'cap'
=>
'∩'
,
104
'ccedil'
=>
'ç'
,
105
'cedil'
=>
'¸'
,
106
'cent'
=>
'¢'
,
107
'chi'
=>
'χ'
,
108
'circ'
=>
'ˆ'
,
109
'clubs'
=>
'♣'
,
110
'cong'
=>
'≅'
,
111
'copy'
=>
'©'
,
112
'crarr'
=>
'↵'
,
113
'cup'
=>
'∪'
,
114
'curren'
=>
'¤'
,
115
'dArr'
=>
'⇓'
,
116
'dagger'
=>
'†'
,
117
'darr'
=>
'↓'
,
118
'deg'
=>
'°'
,
119
'delta'
=>
'δ'
,
120
'diams'
=>
'♦'
,
121
'divide'
=>
'÷'
,
122
'eacute'
=>
'é'
,
123
'ecirc'
=>
'ê'
,
124
'egrave'
=>
'è'
,
125
'empty'
=>
'∅'
,
126
'emsp'
=>
' '
,
127
'ensp'
=>
' '
,
128
'epsilon'
=>
'ε'
,
129
'equiv'
=>
'≡'
,
130
'eta'
=>
'η'
,
131
'eth'
=>
'ð'
,
132
'euml'
=>
'ë'
,
133
'euro'
=>
'€'
,
134
'exist'
=>
'∃'
,
135
'fnof'
=>
'ƒ'
,
136
'forall'
=>
'∀'
,
137
'frac12'
=>
'½'
,
138
'frac14'
=>
'¼'
,
139
'frac34'
=>
'¾'
,
140
'frasl'
=>
'⁄'
,
141
'gamma'
=>
'γ'
,
142
'ge'
=>
'≥'
,
143
'gt'
=>
'>'
,
144
'hArr'
=>
'⇔'
,
145
'harr'
=>
'↔'
,
146
'hearts'
=>
'♥'
,
147
'hellip'
=>
'…'
,
148
'iacute'
=>
'í'
,
149
'icirc'
=>
'î'
,
150
'iexcl'
=>
'¡'
,
151
'igrave'
=>
'ì'
,
152
'image'
=>
'ℑ'
,
153
'infin'
=>
'∞'
,
154
'int'
=>
'∫'
,
155
'iota'
=>
'ι'
,
156
'iquest'
=>
'¿'
,
157
'isin'
=>
'∈'
,
158
'iuml'
=>
'ï'
,
159
'kappa'
=>
'κ'
,
160
'lArr'
=>
'⇐'
,
161
'lambda'
=>
'λ'
,
162
'lang'
=>
'〈'
,
163
'laquo'
=>
'«'
,
164
'larr'
=>
'←'
,
165
'lceil'
=>
'⌈'
,
166
'ldquo'
=>
'“'
,
167
'le'
=>
'≤'
,
168
'lfloor'
=>
'⌊'
,
169
'lowast'
=>
'∗'
,
170
'loz'
=>
'◊'
,
171
'lrm'
=>
''
,
172
'lsaquo'
=>
'‹'
,
173
'lsquo'
=>
'‘'
,
174
'lt'
=>
'<'
,
175
'macr'
=>
'¯'
,
176
'mdash'
=>
'—'
,
177
'micro'
=>
'µ'
,
178
'middot'
=>
'·'
,
179
'minus'
=>
'−'
,
180
'mu'
=>
'μ'
,
181
'nabla'
=>
'∇'
,
182
'nbsp'
=>
' '
,
183
'ndash'
=>
'–'
,
184
'ne'
=>
'≠'
,
185
'ni'
=>
'∋'
,
186
'not'
=>
'¬'
,
187
'notin'
=>
'∉'
,
188
'nsub'
=>
'⊄'
,
189
'ntilde'
=>
'ñ'
,
190
'nu'
=>
'ν'
,
191
'oacute'
=>
'ó'
,
192
'ocirc'
=>
'ô'
,
193
'oelig'
=>
'œ'
,
194
'ograve'
=>
'ò'
,
195
'oline'
=>
'‾'
,
196
'omega'
=>
'ω'
,
197
'omicron'
=>
'ο'
,
198
'oplus'
=>
'⊕'
,
199
'or'
=>
'∨'
,
200
'ordf'
=>
'ª'
,
201
'ordm'
=>
'º'
,
202
'oslash'
=>
'ø'
,
203
'otilde'
=>
'õ'
,
204
'otimes'
=>
'⊗'
,
205
'ouml'
=>
'ö'
,
206
'para'
=>
'¶'
,
207
'part'
=>
'∂'
,
208
'permil'
=>
'‰'
,
209
'perp'
=>
'⊥'
,
210
'phi'
=>
'φ'
,
211
'pi'
=>
'π'
,
212
'piv'
=>
'ϖ'
,
213
'plusmn'
=>
'±'
,
214
'pound'
=>
'£'
,
215
'prime'
=>
'′'
,
216
'prod'
=>
'∏'
,
217
'prop'
=>
'∝'
,
218
'psi'
=>
'ψ'
,
219
'quot'
=>
'"'
,
220
'rArr'
=>
'⇒'
,
221
'radic'
=>
'√'
,
222
'rang'
=>
'〉'
,
223
'raquo'
=>
'»'
,
224
'rarr'
=>
'→'
,
225
'rceil'
=>
'⌉'
,
226
'rdquo'
=>
'”'
,
227
'real'
=>
'ℜ'
,
228
'reg'
=>
'®'
,
229
'rfloor'
=>
'⌋'
,
230
'rho'
=>
'ρ'
,
231
'rlm'
=>
''
,
232
'rsaquo'
=>
'›'
,
233
'rsquo'
=>
'’'
,
234
'sbquo'
=>
'‚'
,
235
'scaron'
=>
'š'
,
236
'sdot'
=>
'⋅'
,
237
'sect'
=>
'§'
,
238
'shy'
=>
''
,
239
'sigma'
=>
'σ'
,
240
'sigmaf'
=>
'ς'
,
241
'sim'
=>
'∼'
,
242
'spades'
=>
'♠'
,
243
'sub'
=>
'⊂'
,
244
'sube'
=>
'⊆'
,
245
'sum'
=>
'∑'
,
246
'sup'
=>
'⊃'
,
247
'sup1'
=>
'¹'
,
248
'sup2'
=>
'²'
,
249
'sup3'
=>
'³'
,
250
'supe'
=>
'⊇'
,
251
'szlig'
=>
'ß'
,
252
'tau'
=>
'τ'
,
253
'there4'
=>
'∴'
,
254
'theta'
=>
'θ'
,
255
'thetasym'
=>
'ϑ'
,
256
'thinsp'
=>
' '
,
257
'thorn'
=>
'þ'
,
258
'tilde'
=>
'˜'
,
259
'times'
=>
'×'
,
260
'trade'
=>
'™'
,
261
'uArr'
=>
'⇑'
,
262
'uacute'
=>
'ú'
,
263
'uarr'
=>
'↑'
,
264
'ucirc'
=>
'û'
,
265
'ugrave'
=>
'ù'
,
266
'uml'
=>
'¨'
,
267
'upsih'
=>
'ϒ'
,
268
'upsilon'
=>
'υ'
,
269
'uuml'
=>
'ü'
,
270
'weierp'
=>
'℘'
,
271
'xi'
=>
'ξ'
,
272
'yacute'
=>
'ý'
,
273
'yen'
=>
'¥'
,
274
'yuml'
=>
'ÿ'
,
275
'zeta'
=>
'ζ'
,
276
'zwj'
=>
''
,
277
'zwnj'
=>
''
278
);
279
280
281
return
true
;
282
283
?>
$HTML_ENTITIES_ENTITYDEFS
$HTML_ENTITIES_ENTITYDEFS
Definition:
html_entities_entitydefs.inc:25
html_entities_entitydefs.inc
Generated on Fri Jun 19 2020 20:35:08 for alphanormalize_php by
1.8.13