ab29826c18aa7d199d78a9b511700b9f00179c5d
[squirrelmail.git] / functions / htmlentities / utf-8.php
1 <?php
2
3 /**
4 * utf-8 html entities table
5 *
6 * @copyright 2004-2019 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
8 * @version $Id$
9 * @package squirrelmail
10 * @subpackage strings
11 */
12 $sq_html_ent_table = array_merge($sq_html_ent_table,
13 array(// Latin1
14 "\xC2\xA0" => '&nbsp;',
15 "\xC2\xA1" => '&iexcl;',
16 "\xC2\xA2" => '&cent;',
17 "\xC2\xA3" => '&pound;',
18 "\xC2\xA4" => '&curren;',
19 "\xC2\xA5" => '&yen;',
20 "\xC2\xA6" => '&brvbar;',
21 "\xC2\xA7" => '&sect;',
22 "\xC2\xA8" => '&uml;',
23 "\xC2\xA9" => '&copy;',
24 "\xC2\xAA" => '&ordf;',
25 "\xC2\xAB" => '&laquo;',
26 "\xC2\xAC" => '&not;',
27 "\xC2\xAD" => '&shy;',
28 "\xC2\xAE" => '&reg;',
29 "\xC2\xAF" => '&macr;',
30 "\xC2\xB0" => '&deg;',
31 "\xC2\xB1" => '&plusmn;',
32 "\xC2\xB2" => '&sup2;',
33 "\xC2\xB3" => '&sup3;',
34 "\xC2\xB4" => '&acute;',
35 "\xC2\xB5" => '&micro;',
36 "\xC2\xB6" => '&para;',
37 "\xC2\xB7" => '&middot;',
38 "\xC2\xB8" => '&cedil;',
39 "\xC2\xB9" => '&sup1;',
40 "\xC2\xBA" => '&ordm;',
41 "\xC2\xBB" => '&raquo;',
42 "\xC2\xBC" => '&frac14;',
43 "\xC2\xBD" => '&frac12;',
44 "\xC2\xBE" => '&frac34;',
45 "\xC2\xBF" => '&iquest;',
46 "\xC3\x80" => '&Agrave;',
47 "\xC3\x81" => '&Aacute;',
48 "\xC3\x82" => '&Acirc;',
49 "\xC3\x83" => '&Atilde;',
50 "\xC3\x84" => '&Auml;',
51 "\xC3\x85" => '&Aring;',
52 "\xC3\x86" => '&AElig;',
53 "\xC3\x87" => '&Ccedil;',
54 "\xC3\x88" => '&Egrave;',
55 "\xC3\x89" => '&Eacute;',
56 "\xC3\x8A" => '&Ecirc;',
57 "\xC3\x8B" => '&Euml;',
58 "\xC3\x8C" => '&Igrave;',
59 "\xC3\x8D" => '&Iacute;',
60 "\xC3\x8E" => '&Icirc;',
61 "\xC3\x8F" => '&Iuml;',
62 "\xC3\x90" => '&ETH;',
63 "\xC3\x91" => '&Ntilde;',
64 "\xC3\x92" => '&Ograve;',
65 "\xC3\x93" => '&Oacute;',
66 "\xC3\x94" => '&Ocirc;',
67 "\xC3\x95" => '&Otilde;',
68 "\xC3\x96" => '&Ouml;',
69 "\xC3\x97" => '&times;',
70 "\xC3\x98" => '&Oslash;',
71 "\xC3\x99" => '&Ugrave;',
72 "\xC3\x9A" => '&Uacute;',
73 "\xC3\x9B" => '&Ucirc;',
74 "\xC3\x9C" => '&Uuml;',
75 "\xC3\x9D" => '&Yacute;',
76 "\xC3\x9E" => '&THORN;',
77 "\xC3\x9F" => '&szlig;',
78 "\xC3\xA0" => '&agrave;',
79 "\xC3\xA1" => '&aacute;',
80 "\xC3\xA2" => '&acirc;',
81 "\xC3\xA3" => '&atilde;',
82 "\xC3\xA4" => '&auml;',
83 "\xC3\xA5" => '&aring;',
84 "\xC3\xA6" => '&aelig;',
85 "\xC3\xA7" => '&ccedil;',
86 "\xC3\xA8" => '&egrave;',
87 "\xC3\xA9" => '&eacute;',
88 "\xC3\xAA" => '&ecirc;',
89 "\xC3\xAB" => '&euml;',
90 "\xC3\xAC" => '&igrave;',
91 "\xC3\xAD" => '&iacute;',
92 "\xC3\xAE" => '&icirc;',
93 "\xC3\xAF" => '&iuml;',
94 "\xC3\xB0" => '&eth;',
95 "\xC3\xB1" => '&ntilde;',
96 "\xC3\xB2" => '&ograve;',
97 "\xC3\xB3" => '&oacute;',
98 "\xC3\xB4" => '&ocirc;',
99 "\xC3\xB5" => '&otilde;',
100 "\xC3\xB6" => '&ouml;',
101 "\xC3\xB7" => '&divide;',
102 "\xC3\xB8" => '&oslash;',
103 "\xC3\xB9" => '&ugrave;',
104 "\xC3\xBA" => '&uacute;',
105 "\xC3\xBB" => '&ucirc;',
106 "\xC3\xBC" => '&uuml;',
107 "\xC3\xBD" => '&yacute;',
108 "\xC3\xBE" => '&thorn;',
109 "\xC3\xBF" => '&yuml;',
110 // Latin Extended-A
111 "\xC5\x92" => '&OElig;',
112 "\xC5\x93" => '&oelig;',
113 "\xC5\xA0" => '&Scaron;',
114 "\xC5\xA1" => '&scaron;',
115 "\xC5\xB8" => '&Yuml;',
116 // Spacing Modifier Letters
117 "\xCB\x86" => '&circ;',
118 "\xCB\x9C" => '&tilde;',
119 // General Punctuation
120 "\xE2\x80\x82" => '&ensp;',
121 "\xE2\x80\x83" => '&emsp;',
122 "\xE2\x80\x89" => '&thinsp;',
123 "\xE2\x80\x8C" => '&zwnj;',
124 "\xE2\x80\x8D" => '&zwj;',
125 "\xE2\x80\x8E" => '&lrm;',
126 "\xE2\x80\x8F" => '&rlm;',
127 "\xE2\x80\x93" => '&ndash;',
128 "\xE2\x80\x94" => '&mdash;',
129 "\xE2\x80\x98" => '&lsquo;',
130 "\xE2\x80\x99" => '&rsquo;',
131 "\xE2\x80\x9A" => '&sbquo;',
132 "\xE2\x80\x9C" => '&ldquo;',
133 "\xE2\x80\x9D" => '&rdquo;',
134 "\xE2\x80\x9E" => '&bdquo;',
135 "\xE2\x80\xA0" => '&dagger;',
136 "\xE2\x80\xA1" => '&Dagger;',
137 "\xE2\x80\xB0" => '&permil;',
138 "\xE2\x80\xB9" => '&lsaquo;',
139 "\xE2\x80\xBA" => '&rsaquo;',
140 "\xE2\x82\xAC" => '&euro;',
141 // Latin Extended-B
142 "\xC6\x92" => '&fnof;',
143 // Greek
144 "\xCE\x91" => '&Alpha;',
145 "\xCE\x92" => '&Beta;',
146 "\xCE\x93" => '&Gamma;',
147 "\xCE\x94" => '&Delta;',
148 "\xCE\x95" => '&Epsilon;',
149 "\xCE\x96" => '&Zeta;',
150 "\xCE\x97" => '&Eta;',
151 "\xCE\x98" => '&Theta;',
152 "\xCE\x99" => '&Iota;',
153 "\xCE\x9A" => '&Kappa;',
154 "\xCE\x9B" => '&Lambda;',
155 "\xCE\x9C" => '&Mu;',
156 "\xCE\x9D" => '&Nu;',
157 "\xCE\x9E" => '&Xi;',
158 "\xCE\x9F" => '&Omicron;',
159 "\xCE\xA0" => '&Pi;',
160 "\xCE\xA1" => '&Rho;',
161 "\xCE\xA3" => '&Sigma;',
162 "\xCE\xA4" => '&Tau;',
163 "\xCE\xA5" => '&Upsilon;',
164 "\xCE\xA6" => '&Phi;',
165 "\xCE\xA7" => '&Chi;',
166 "\xCE\xA8" => '&Psi;',
167 "\xCE\xA9" => '&Omega;',
168 "\xCE\xB1" => '&alpha;',
169 "\xCE\xB2" => '&beta;',
170 "\xCE\xB3" => '&gamma;',
171 "\xCE\xB4" => '&delta;',
172 "\xCE\xB5" => '&epsilon;',
173 "\xCE\xB6" => '&zeta;',
174 "\xCE\xB7" => '&eta;',
175 "\xCE\xB8" => '&theta;',
176 "\xCE\xB9" => '&iota;',
177 "\xCE\xBA" => '&kappa;',
178 "\xCE\xBB" => '&lambda;',
179 "\xCE\xBC" => '&mu;',
180 "\xCE\xBD" => '&nu;',
181 "\xCE\xBE" => '&xi;',
182 "\xCE\xBF" => '&omicron;',
183 "\xCF\x80" => '&pi;',
184 "\xCF\x81" => '&rho;',
185 "\xCF\x82" => '&sigmaf;',
186 "\xCF\x83" => '&sigma;',
187 "\xCF\x84" => '&tau;',
188 "\xCF\x85" => '&upsilon;',
189 "\xCF\x86" => '&phi;',
190 "\xCF\x87" => '&chi;',
191 "\xCF\x88" => '&psi;',
192 "\xCF\x89" => '&omega;',
193 "\xCF\x91" => '&thetasym;',
194 "\xCF\x92" => '&upsih;',
195 "\xCF\x96" => '&piv;',
196 // General Punctuation
197 "\xE2\x80\xA2" => '&bull;',
198 "\xE2\x80\xA6" => '&hellip;',
199 "\xE2\x80\xB2" => '&prime;',
200 "\xE2\x80\xB3" => '&Prime;',
201 "\xE2\x80\xBE" => '&oline;',
202 "\xE2\x81\x84" => '&frasl;',
203 // Letterlike Symbols
204 "\xE2\x84\x98" => '&weierp;',
205 "\xE2\x84\x91" => '&image;',
206 "\xE2\x84\x9C" => '&real;',
207 "\xE2\x84\xA2" => '&trade;',
208 "\xE2\x84\xB5" => '&alefsym;',
209 // Arrows
210 "\xE2\x86\x90" => '&larr;',
211 "\xE2\x86\x91" => '&uarr;',
212 "\xE2\x86\x92" => '&rarr;',
213 "\xE2\x86\x93" => '&darr;',
214 "\xE2\x86\x94" => '&harr;',
215 "\xE2\x86\xB5" => '&crarr;',
216 "\xE2\x87\x90" => '&lArr;',
217 "\xE2\x87\x91" => '&uArr;',
218 "\xE2\x87\x92" => '&rArr;',
219 "\xE2\x87\x93" => '&dArr;',
220 "\xE2\x87\x94" => '&hArr;',
221 // Mathematical Operators
222 "\xE2\x88\x80" => '&forall;',
223 "\xE2\x88\x82" => '&part;',
224 "\xE2\x88\x83" => '&exist;',
225 "\xE2\x88\x85" => '&empty;',
226 "\xE2\x88\x87" => '&nabla;',
227 "\xE2\x88\x88" => '&isin;',
228 "\xE2\x88\x89" => '&notin;',
229 "\xE2\x88\x8B" => '&ni;',
230 "\xE2\x88\x8F" => '&prod;',
231 "\xE2\x88\x91" => '&sum;',
232 "\xE2\x88\x92" => '&minus;',
233 "\xE2\x88\x97" => '&lowast;',
234 "\xE2\x88\x9A" => '&radic;',
235 "\xE2\x88\x9D" => '&prop;',
236 "\xE2\x88\x9E" => '&infin;',
237 "\xE2\x88\xA0" => '&ang;',
238 "\xE2\x88\xA7" => '&and;',
239 "\xE2\x88\xA8" => '&or;',
240 "\xE2\x88\xA9" => '&cap;',
241 "\xE2\x88\xAA" => '&cup;',
242 "\xE2\x88\xAB" => '&int;',
243 "\xE2\x88\xB4" => '&there4;',
244 "\xE2\x88\xBC" => '&sim;',
245 "\xE2\x89\x85" => '&cong;',
246 "\xE2\x89\x88" => '&asymp;',
247 "\xE2\x89\xA0" => '&ne;',
248 "\xE2\x89\xA1" => '&equiv;',
249 "\xE2\x89\xA4" => '&le;',
250 "\xE2\x89\xA5" => '&ge;',
251 "\xE2\x8A\x82" => '&sub;',
252 "\xE2\x8A\x83" => '&sup;',
253 "\xE2\x8A\x84" => '&nsub;',
254 "\xE2\x8A\x86" => '&sube;',
255 "\xE2\x8A\x87" => '&supe;',
256 "\xE2\x8A\x95" => '&oplus;',
257 "\xE2\x8A\x97" => '&otimes;',
258 "\xE2\x8A\xA5" => '&perp;',
259 "\xE2\x8B\x85" => '&sdot;',
260 // Miscellaneous Technical
261 "\xE2\x8C\x88" => '&lceil;',
262 "\xE2\x8C\x89" => '&rceil;',
263 "\xE2\x8C\x8A" => '&lfloor;',
264 "\xE2\x8C\x8B" => '&rfloor;',
265 "\xE2\x8C\xA9" => '&lang;',
266 "\xE2\x8C\xAA" => '&rang;',
267 // Geometric Shapes
268 "\xE2\x97\x8A" => '&loz;',
269 // Miscellaneous Symbols
270 "\xE2\x99\xA0" => '&spades;',
271 "\xE2\x99\xA3" => '&clubs;',
272 "\xE2\x99\xA5" => '&hearts;',
273 "\xE2\x99\xA6" => '&diams;'
274 )
275 );