alphanormalize_php
v.03.00.03 — June 17, 2020
html_entities_codepoint2name.inc
Go to the documentation of this file.
1
<?php
// -*- coding: utf-8 -*-
2
3
/** \file html_entities_codepoint2name.inc
4
* (December 31, 2013)
5
*
6
* \brief Character codes to XHTML entities.
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: character code => name of the corresponding XHTML entity.
18
*
19
* For example : <code>233</code> => <code>'eacute'</code>.
20
*
21
* (This is a copy of the Python table <code>html.entities.codepoint2name</code>:
22
* "A dictionary that maps Unicode codepoints to HTML entity names.".
23
* See http://docs.python.org/py3k/library/html.entities.html#module-html.entities .)
24
*/
25
$HTML_ENTITIES_CODEPOINT2NAME
= array(
26
34 =>
'quot'
,
27
38 =>
'amp'
,
28
60 =>
'lt'
,
29
62 =>
'gt'
,
30
160 =>
'nbsp'
,
31
161 =>
'iexcl'
,
32
162 =>
'cent'
,
33
163 =>
'pound'
,
34
164 =>
'curren'
,
35
165 =>
'yen'
,
36
166 =>
'brvbar'
,
37
167 =>
'sect'
,
38
168 =>
'uml'
,
39
169 =>
'copy'
,
40
170 =>
'ordf'
,
41
171 =>
'laquo'
,
42
172 =>
'not'
,
43
173 =>
'shy'
,
44
174 =>
'reg'
,
45
175 =>
'macr'
,
46
176 =>
'deg'
,
47
177 =>
'plusmn'
,
48
178 =>
'sup2'
,
49
179 =>
'sup3'
,
50
180 =>
'acute'
,
51
181 =>
'micro'
,
52
182 =>
'para'
,
53
183 =>
'middot'
,
54
184 =>
'cedil'
,
55
185 =>
'sup1'
,
56
186 =>
'ordm'
,
57
187 =>
'raquo'
,
58
188 =>
'frac14'
,
59
189 =>
'frac12'
,
60
190 =>
'frac34'
,
61
191 =>
'iquest'
,
62
192 =>
'Agrave'
,
63
193 =>
'Aacute'
,
64
194 =>
'Acirc'
,
65
195 =>
'Atilde'
,
66
196 =>
'Auml'
,
67
197 =>
'Aring'
,
68
198 =>
'AElig'
,
69
199 =>
'Ccedil'
,
70
200 =>
'Egrave'
,
71
201 =>
'Eacute'
,
72
202 =>
'Ecirc'
,
73
203 =>
'Euml'
,
74
204 =>
'Igrave'
,
75
205 =>
'Iacute'
,
76
206 =>
'Icirc'
,
77
207 =>
'Iuml'
,
78
208 =>
'ETH'
,
79
209 =>
'Ntilde'
,
80
210 =>
'Ograve'
,
81
211 =>
'Oacute'
,
82
212 =>
'Ocirc'
,
83
213 =>
'Otilde'
,
84
214 =>
'Ouml'
,
85
215 =>
'times'
,
86
216 =>
'Oslash'
,
87
217 =>
'Ugrave'
,
88
218 =>
'Uacute'
,
89
219 =>
'Ucirc'
,
90
220 =>
'Uuml'
,
91
221 =>
'Yacute'
,
92
222 =>
'THORN'
,
93
223 =>
'szlig'
,
94
224 =>
'agrave'
,
95
225 =>
'aacute'
,
96
226 =>
'acirc'
,
97
227 =>
'atilde'
,
98
228 =>
'auml'
,
99
229 =>
'aring'
,
100
230 =>
'aelig'
,
101
231 =>
'ccedil'
,
102
232 =>
'egrave'
,
103
233 =>
'eacute'
,
104
234 =>
'ecirc'
,
105
235 =>
'euml'
,
106
236 =>
'igrave'
,
107
237 =>
'iacute'
,
108
238 =>
'icirc'
,
109
239 =>
'iuml'
,
110
240 =>
'eth'
,
111
241 =>
'ntilde'
,
112
242 =>
'ograve'
,
113
243 =>
'oacute'
,
114
244 =>
'ocirc'
,
115
245 =>
'otilde'
,
116
246 =>
'ouml'
,
117
247 =>
'divide'
,
118
248 =>
'oslash'
,
119
249 =>
'ugrave'
,
120
250 =>
'uacute'
,
121
251 =>
'ucirc'
,
122
252 =>
'uuml'
,
123
253 =>
'yacute'
,
124
254 =>
'thorn'
,
125
255 =>
'yuml'
,
126
338 =>
'OElig'
,
127
339 =>
'oelig'
,
128
352 =>
'Scaron'
,
129
353 =>
'scaron'
,
130
376 =>
'Yuml'
,
131
402 =>
'fnof'
,
132
710 =>
'circ'
,
133
732 =>
'tilde'
,
134
913 =>
'Alpha'
,
135
914 =>
'Beta'
,
136
915 =>
'Gamma'
,
137
916 =>
'Delta'
,
138
917 =>
'Epsilon'
,
139
918 =>
'Zeta'
,
140
919 =>
'Eta'
,
141
920 =>
'Theta'
,
142
921 =>
'Iota'
,
143
922 =>
'Kappa'
,
144
923 =>
'Lambda'
,
145
924 =>
'Mu'
,
146
925 =>
'Nu'
,
147
926 =>
'Xi'
,
148
927 =>
'Omicron'
,
149
928 =>
'Pi'
,
150
929 =>
'Rho'
,
151
931 =>
'Sigma'
,
152
932 =>
'Tau'
,
153
933 =>
'Upsilon'
,
154
934 =>
'Phi'
,
155
935 =>
'Chi'
,
156
936 =>
'Psi'
,
157
937 =>
'Omega'
,
158
945 =>
'alpha'
,
159
946 =>
'beta'
,
160
947 =>
'gamma'
,
161
948 =>
'delta'
,
162
949 =>
'epsilon'
,
163
950 =>
'zeta'
,
164
951 =>
'eta'
,
165
952 =>
'theta'
,
166
953 =>
'iota'
,
167
954 =>
'kappa'
,
168
955 =>
'lambda'
,
169
956 =>
'mu'
,
170
957 =>
'nu'
,
171
958 =>
'xi'
,
172
959 =>
'omicron'
,
173
960 =>
'pi'
,
174
961 =>
'rho'
,
175
962 =>
'sigmaf'
,
176
963 =>
'sigma'
,
177
964 =>
'tau'
,
178
965 =>
'upsilon'
,
179
966 =>
'phi'
,
180
967 =>
'chi'
,
181
968 =>
'psi'
,
182
969 =>
'omega'
,
183
977 =>
'thetasym'
,
184
978 =>
'upsih'
,
185
982 =>
'piv'
,
186
8194 =>
'ensp'
,
187
8195 =>
'emsp'
,
188
8201 =>
'thinsp'
,
189
8204 =>
'zwnj'
,
190
8205 =>
'zwj'
,
191
8206 =>
'lrm'
,
192
8207 =>
'rlm'
,
193
8211 =>
'ndash'
,
194
8212 =>
'mdash'
,
195
8216 =>
'lsquo'
,
196
8217 =>
'rsquo'
,
197
8218 =>
'sbquo'
,
198
8220 =>
'ldquo'
,
199
8221 =>
'rdquo'
,
200
8222 =>
'bdquo'
,
201
8224 =>
'dagger'
,
202
8225 =>
'Dagger'
,
203
8226 =>
'bull'
,
204
8230 =>
'hellip'
,
205
8240 =>
'permil'
,
206
8242 =>
'prime'
,
207
8243 =>
'Prime'
,
208
8249 =>
'lsaquo'
,
209
8250 =>
'rsaquo'
,
210
8254 =>
'oline'
,
211
8260 =>
'frasl'
,
212
8364 =>
'euro'
,
213
8465 =>
'image'
,
214
8472 =>
'weierp'
,
215
8476 =>
'real'
,
216
8482 =>
'trade'
,
217
8501 =>
'alefsym'
,
218
8592 =>
'larr'
,
219
8593 =>
'uarr'
,
220
8594 =>
'rarr'
,
221
8595 =>
'darr'
,
222
8596 =>
'harr'
,
223
8629 =>
'crarr'
,
224
8656 =>
'lArr'
,
225
8657 =>
'uArr'
,
226
8658 =>
'rArr'
,
227
8659 =>
'dArr'
,
228
8660 =>
'hArr'
,
229
8704 =>
'forall'
,
230
8706 =>
'part'
,
231
8707 =>
'exist'
,
232
8709 =>
'empty'
,
233
8711 =>
'nabla'
,
234
8712 =>
'isin'
,
235
8713 =>
'notin'
,
236
8715 =>
'ni'
,
237
8719 =>
'prod'
,
238
8721 =>
'sum'
,
239
8722 =>
'minus'
,
240
8727 =>
'lowast'
,
241
8730 =>
'radic'
,
242
8733 =>
'prop'
,
243
8734 =>
'infin'
,
244
8736 =>
'ang'
,
245
8743 =>
'and'
,
246
8744 =>
'or'
,
247
8745 =>
'cap'
,
248
8746 =>
'cup'
,
249
8747 =>
'int'
,
250
8756 =>
'there4'
,
251
8764 =>
'sim'
,
252
8773 =>
'cong'
,
253
8776 =>
'asymp'
,
254
8800 =>
'ne'
,
255
8801 =>
'equiv'
,
256
8804 =>
'le'
,
257
8805 =>
'ge'
,
258
8834 =>
'sub'
,
259
8835 =>
'sup'
,
260
8836 =>
'nsub'
,
261
8838 =>
'sube'
,
262
8839 =>
'supe'
,
263
8853 =>
'oplus'
,
264
8855 =>
'otimes'
,
265
8869 =>
'perp'
,
266
8901 =>
'sdot'
,
267
8968 =>
'lceil'
,
268
8969 =>
'rceil'
,
269
8970 =>
'lfloor'
,
270
8971 =>
'rfloor'
,
271
9001 =>
'lang'
,
272
9002 =>
'rang'
,
273
9674 =>
'loz'
,
274
9824 =>
'spades'
,
275
9827 =>
'clubs'
,
276
9829 =>
'hearts'
,
277
9830 =>
'diams'
278
);
279
280
281
return
true
;
282
283
?>
$HTML_ENTITIES_CODEPOINT2NAME
$HTML_ENTITIES_CODEPOINT2NAME
Definition:
html_entities_codepoint2name.inc:25
html_entities_codepoint2name.inc
Generated on Fri Jun 19 2020 20:35:08 for alphanormalize_php by
1.8.13