1--TEST--
2Translation of HTML entities for encoding MacRoman
3--FILE--
4<?php
5$arr = array(
60x00C4 => array(0x80, "LATIN CAPITAL LETTER A WITH DIAERESIS"),
70x00C5 => array(0x81, "LATIN CAPITAL LETTER A WITH RING ABOVE"),
80x00C7 => array(0x82, "LATIN CAPITAL LETTER C WITH CEDILLA"),
90x00C9 => array(0x83, "LATIN CAPITAL LETTER E WITH ACUTE"),
100x00D1 => array(0x84, "LATIN CAPITAL LETTER N WITH TILDE"),
110x00D6 => array(0x85, "LATIN CAPITAL LETTER O WITH DIAERESIS"),
120x00DC => array(0x86, "LATIN CAPITAL LETTER U WITH DIAERESIS"),
130x00E1 => array(0x87, "LATIN SMALL LETTER A WITH ACUTE"),
140x00E0 => array(0x88, "LATIN SMALL LETTER A WITH GRAVE"),
150x00E2 => array(0x89, "LATIN SMALL LETTER A WITH CIRCUMFLEX"),
160x00E4 => array(0x8A, "LATIN SMALL LETTER A WITH DIAERESIS"),
170x00E3 => array(0x8B, "LATIN SMALL LETTER A WITH TILDE"),
180x00E5 => array(0x8C, "LATIN SMALL LETTER A WITH RING ABOVE"),
190x00E7 => array(0x8D, "LATIN SMALL LETTER C WITH CEDILLA"),
200x00E9 => array(0x8E, "LATIN SMALL LETTER E WITH ACUTE"),
210x00E8 => array(0x8F, "LATIN SMALL LETTER E WITH GRAVE"),
220x00EA => array(0x90, "LATIN SMALL LETTER E WITH CIRCUMFLEX"),
230x00EB => array(0x91, "LATIN SMALL LETTER E WITH DIAERESIS"),
240x00ED => array(0x92, "LATIN SMALL LETTER I WITH ACUTE"),
250x00EC => array(0x93, "LATIN SMALL LETTER I WITH GRAVE"),
260x00EE => array(0x94, "LATIN SMALL LETTER I WITH CIRCUMFLEX"),
270x00EF => array(0x95, "LATIN SMALL LETTER I WITH DIAERESIS"),
280x00F1 => array(0x96, "LATIN SMALL LETTER N WITH TILDE"),
290x00F3 => array(0x97, "LATIN SMALL LETTER O WITH ACUTE"),
300x00F2 => array(0x98, "LATIN SMALL LETTER O WITH GRAVE"),
310x00F4 => array(0x99, "LATIN SMALL LETTER O WITH CIRCUMFLEX"),
320x00F6 => array(0x9A, "LATIN SMALL LETTER O WITH DIAERESIS"),
330x00F5 => array(0x9B, "LATIN SMALL LETTER O WITH TILDE"),
340x00FA => array(0x9C, "LATIN SMALL LETTER U WITH ACUTE"),
350x00F9 => array(0x9D, "LATIN SMALL LETTER U WITH GRAVE"),
360x00FB => array(0x9E, "LATIN SMALL LETTER U WITH CIRCUMFLEX"),
370x00FC => array(0x9F, "LATIN SMALL LETTER U WITH DIAERESIS"),
380x2020 => array(0xA0, "DAGGER"),
390x00B0 => array(0xA1, "DEGREE SIGN"),
400x00A2 => array(0xA2, "CENT SIGN"),
410x00A3 => array(0xA3, "POUND SIGN"),
420x00A7 => array(0xA4, "SECTION SIGN"),
430x2022 => array(0xA5, "BULLET"),
440x00B6 => array(0xA6, "PILCROW SIGN"),
450x00DF => array(0xA7, "LATIN SMALL LETTER SHARP S"),
460x00AE => array(0xA8, "REGISTERED SIGN"),
470x00A9 => array(0xA9, "COPYRIGHT SIGN"),
480x2122 => array(0xAA, "TRADE MARK SIGN"),
490x00B4 => array(0xAB, "ACUTE ACCENT"),
500x00A8 => array(0xAC, "DIAERESIS"),
510x2260 => array(0xAD, "NOT EQUAL TO"),
520x00C6 => array(0xAE, "LATIN CAPITAL LETTER AE"),
530x00D8 => array(0xAF, "LATIN CAPITAL LETTER O WITH STROKE"),
540x221E => array(0xB0, "INFINITY"),
550x00B1 => array(0xB1, "PLUS-MINUS SIGN"),
560x2264 => array(0xB2, "LESS-THAN OR EQUAL TO"),
570x2265 => array(0xB3, "GREATER-THAN OR EQUAL TO"),
580x00A5 => array(0xB4, "YEN SIGN"),
590x00B5 => array(0xB5, "MICRO SIGN"),
600x2202 => array(0xB6, "PARTIAL DIFFERENTIAL"),
610x2211 => array(0xB7, "N-ARY SUMMATION"),
620x220F => array(0xB8, "N-ARY PRODUCT"),
630x03C0 => array(0xB9, "GREEK SMALL LETTER PI"),
640x222B => array(0xBA, "INTEGRAL"),
650x00AA => array(0xBB, "FEMININE ORDINAL INDICATOR"),
660x00BA => array(0xBC, "MASCULINE ORDINAL INDICATOR"),
670x03A9 => array(0xBD, "GREEK CAPITAL LETTER OMEGA"),
680x00E6 => array(0xBE, "LATIN SMALL LETTER AE"),
690x00F8 => array(0xBF, "LATIN SMALL LETTER O WITH STROKE"),
700x00BF => array(0xC0, "INVERTED QUESTION MARK"),
710x00A1 => array(0xC1, "INVERTED EXCLAMATION MARK"),
720x00AC => array(0xC2, "NOT SIGN"),
730x221A => array(0xC3, "SQUARE ROOT"),
740x0192 => array(0xC4, "LATIN SMALL LETTER F WITH HOOK"),
750x2248 => array(0xC5, "ALMOST EQUAL TO"),
760x2206 => array(0xC6, "INCREMENT"),
770x00AB => array(0xC7, "LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"),
780x00BB => array(0xC8, "RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"),
790x2026 => array(0xC9, "HORIZONTAL ELLIPSIS"),
800x00A0 => array(0xCA, "NO-BREAK SPACE"),
810x00C0 => array(0xCB, "LATIN CAPITAL LETTER A WITH GRAVE"),
820x00C3 => array(0xCC, "LATIN CAPITAL LETTER A WITH TILDE"),
830x00D5 => array(0xCD, "LATIN CAPITAL LETTER O WITH TILDE"),
840x0152 => array(0xCE, "LATIN CAPITAL LIGATURE OE"),
850x0153 => array(0xCF, "LATIN SMALL LIGATURE OE"),
860x2013 => array(0xD0, "EN DASH"),
870x2014 => array(0xD1, "EM DASH"),
880x201C => array(0xD2, "LEFT DOUBLE QUOTATION MARK"),
890x201D => array(0xD3, "RIGHT DOUBLE QUOTATION MARK"),
900x2018 => array(0xD4, "LEFT SINGLE QUOTATION MARK"),
910x2019 => array(0xD5, "RIGHT SINGLE QUOTATION MARK"),
920x00F7 => array(0xD6, "DIVISION SIGN"),
930x25CA => array(0xD7, "LOZENGE"),
940x00FF => array(0xD8, "LATIN SMALL LETTER Y WITH DIAERESIS"),
950x0178 => array(0xD9, "LATIN CAPITAL LETTER Y WITH DIAERESIS"),
960x2044 => array(0xDA, "FRACTION SLASH"),
970x20AC => array(0xDB, "EURO SIGN"),
980x2039 => array(0xDC, "SINGLE LEFT-POINTING ANGLE QUOTATION MARK"),
990x203A => array(0xDD, "SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"),
1000xFB01 => array(0xDE, "LATIN SMALL LIGATURE FI"),
1010xFB02 => array(0xDF, "LATIN SMALL LIGATURE FL"),
1020x2021 => array(0xE0, "DOUBLE DAGGER"),
1030x00B7 => array(0xE1, "MIDDLE DOT"),
1040x201A => array(0xE2, "SINGLE LOW-9 QUOTATION MARK"),
1050x201E => array(0xE3, "DOUBLE LOW-9 QUOTATION MARK"),
1060x2030 => array(0xE4, "PER MILLE SIGN"),
1070x00C2 => array(0xE5, "LATIN CAPITAL LETTER A WITH CIRCUMFLEX"),
1080x00CA => array(0xE6, "LATIN CAPITAL LETTER E WITH CIRCUMFLEX"),
1090x00C1 => array(0xE7, "LATIN CAPITAL LETTER A WITH ACUTE"),
1100x00CB => array(0xE8, "LATIN CAPITAL LETTER E WITH DIAERESIS"),
1110x00C8 => array(0xE9, "LATIN CAPITAL LETTER E WITH GRAVE"),
1120x00CD => array(0xEA, "LATIN CAPITAL LETTER I WITH ACUTE"),
1130x00CE => array(0xEB, "LATIN CAPITAL LETTER I WITH CIRCUMFLEX"),
1140x00CF => array(0xEC, "LATIN CAPITAL LETTER I WITH DIAERESIS"),
1150x00CC => array(0xED, "LATIN CAPITAL LETTER I WITH GRAVE"),
1160x00D3 => array(0xEE, "LATIN CAPITAL LETTER O WITH ACUTE"),
1170x00D4 => array(0xEF, "LATIN CAPITAL LETTER O WITH CIRCUMFLEX"),
1180xF8FF => array(0xF0, "Apple logo"),
1190x00D2 => array(0xF1, "LATIN CAPITAL LETTER O WITH GRAVE"),
1200x00DA => array(0xF2, "LATIN CAPITAL LETTER U WITH ACUTE"),
1210x00DB => array(0xF3, "LATIN CAPITAL LETTER U WITH CIRCUMFLEX"),
1220x00D9 => array(0xF4, "LATIN CAPITAL LETTER U WITH GRAVE"),
1230x0131 => array(0xF5, "LATIN SMALL LETTER DOTLESS I"),
1240x02C6 => array(0xF6, "MODIFIER LETTER CIRCUMFLEX ACCENT"),
1250x02DC => array(0xF7, "SMALL TILDE"),
1260x00AF => array(0xF8, "MACRON"),
1270x02D8 => array(0xF9, "BREVE"),
1280x02D9 => array(0xFA, "DOT ABOVE"),
1290x02DA => array(0xFB, "RING ABOVE"),
1300x00B8 => array(0xFC, "CEDILLA"),
1310x02DD => array(0xFD, "DOUBLE ACUTE ACCENT"),
1320x02DB => array(0xFE, "OGONEK"),
1330x02C7 => array(0xFF, "CARON"),
134);
135
136$res = html_entity_decode("&#x7F;", ENT_QUOTES, 'MacRoman');
137echo "Special test for &#x7F; (shouldn't decode):\n";
138echo $res,"\n\n";
139
140foreach ($arr as $u => $v) {
141    $ent = sprintf("&#x%X;", $u);
142    $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
143    $d = unpack("H*", $res);
144    echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
145
146    $ent = sprintf("&#x%X;", $v[0]);
147    $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
148    if ($res[0] != "&" || $res[1] != "#")
149        $res = unpack("H*", $res)[1];
150    echo sprintf("%s => %s\n\n", $ent, $res);
151}
152?>
153--EXPECT--
154Special test for &#x7F; (shouldn't decode):
155&#x7F;
156
157LATIN CAPITAL LETTER A WITH DIAERESIS: &#xC4; => 80
158&#x80; => &#x80;
159
160LATIN CAPITAL LETTER A WITH RING ABOVE: &#xC5; => 81
161&#x81; => &#x81;
162
163LATIN CAPITAL LETTER C WITH CEDILLA: &#xC7; => 82
164&#x82; => &#x82;
165
166LATIN CAPITAL LETTER E WITH ACUTE: &#xC9; => 83
167&#x83; => &#x83;
168
169LATIN CAPITAL LETTER N WITH TILDE: &#xD1; => 84
170&#x84; => &#x84;
171
172LATIN CAPITAL LETTER O WITH DIAERESIS: &#xD6; => 85
173&#x85; => &#x85;
174
175LATIN CAPITAL LETTER U WITH DIAERESIS: &#xDC; => 86
176&#x86; => &#x86;
177
178LATIN SMALL LETTER A WITH ACUTE: &#xE1; => 87
179&#x87; => &#x87;
180
181LATIN SMALL LETTER A WITH GRAVE: &#xE0; => 88
182&#x88; => &#x88;
183
184LATIN SMALL LETTER A WITH CIRCUMFLEX: &#xE2; => 89
185&#x89; => &#x89;
186
187LATIN SMALL LETTER A WITH DIAERESIS: &#xE4; => 8a
188&#x8A; => &#x8A;
189
190LATIN SMALL LETTER A WITH TILDE: &#xE3; => 8b
191&#x8B; => &#x8B;
192
193LATIN SMALL LETTER A WITH RING ABOVE: &#xE5; => 8c
194&#x8C; => &#x8C;
195
196LATIN SMALL LETTER C WITH CEDILLA: &#xE7; => 8d
197&#x8D; => &#x8D;
198
199LATIN SMALL LETTER E WITH ACUTE: &#xE9; => 8e
200&#x8E; => &#x8E;
201
202LATIN SMALL LETTER E WITH GRAVE: &#xE8; => 8f
203&#x8F; => &#x8F;
204
205LATIN SMALL LETTER E WITH CIRCUMFLEX: &#xEA; => 90
206&#x90; => &#x90;
207
208LATIN SMALL LETTER E WITH DIAERESIS: &#xEB; => 91
209&#x91; => &#x91;
210
211LATIN SMALL LETTER I WITH ACUTE: &#xED; => 92
212&#x92; => &#x92;
213
214LATIN SMALL LETTER I WITH GRAVE: &#xEC; => 93
215&#x93; => &#x93;
216
217LATIN SMALL LETTER I WITH CIRCUMFLEX: &#xEE; => 94
218&#x94; => &#x94;
219
220LATIN SMALL LETTER I WITH DIAERESIS: &#xEF; => 95
221&#x95; => &#x95;
222
223LATIN SMALL LETTER N WITH TILDE: &#xF1; => 96
224&#x96; => &#x96;
225
226LATIN SMALL LETTER O WITH ACUTE: &#xF3; => 97
227&#x97; => &#x97;
228
229LATIN SMALL LETTER O WITH GRAVE: &#xF2; => 98
230&#x98; => &#x98;
231
232LATIN SMALL LETTER O WITH CIRCUMFLEX: &#xF4; => 99
233&#x99; => &#x99;
234
235LATIN SMALL LETTER O WITH DIAERESIS: &#xF6; => 9a
236&#x9A; => &#x9A;
237
238LATIN SMALL LETTER O WITH TILDE: &#xF5; => 9b
239&#x9B; => &#x9B;
240
241LATIN SMALL LETTER U WITH ACUTE: &#xFA; => 9c
242&#x9C; => &#x9C;
243
244LATIN SMALL LETTER U WITH GRAVE: &#xF9; => 9d
245&#x9D; => &#x9D;
246
247LATIN SMALL LETTER U WITH CIRCUMFLEX: &#xFB; => 9e
248&#x9E; => &#x9E;
249
250LATIN SMALL LETTER U WITH DIAERESIS: &#xFC; => 9f
251&#x9F; => &#x9F;
252
253DAGGER: &#x2020; => a0
254&#xA0; => ca
255
256DEGREE SIGN: &#xB0; => a1
257&#xA1; => c1
258
259CENT SIGN: &#xA2; => a2
260&#xA2; => a2
261
262POUND SIGN: &#xA3; => a3
263&#xA3; => a3
264
265SECTION SIGN: &#xA7; => a4
266&#xA4; => &#xA4;
267
268BULLET: &#x2022; => a5
269&#xA5; => b4
270
271PILCROW SIGN: &#xB6; => a6
272&#xA6; => &#xA6;
273
274LATIN SMALL LETTER SHARP S: &#xDF; => a7
275&#xA7; => a4
276
277REGISTERED SIGN: &#xAE; => a8
278&#xA8; => ac
279
280COPYRIGHT SIGN: &#xA9; => a9
281&#xA9; => a9
282
283TRADE MARK SIGN: &#x2122; => aa
284&#xAA; => bb
285
286ACUTE ACCENT: &#xB4; => ab
287&#xAB; => c7
288
289DIAERESIS: &#xA8; => ac
290&#xAC; => c2
291
292NOT EQUAL TO: &#x2260; => ad
293&#xAD; => &#xAD;
294
295LATIN CAPITAL LETTER AE: &#xC6; => ae
296&#xAE; => a8
297
298LATIN CAPITAL LETTER O WITH STROKE: &#xD8; => af
299&#xAF; => f8
300
301INFINITY: &#x221E; => b0
302&#xB0; => a1
303
304PLUS-MINUS SIGN: &#xB1; => b1
305&#xB1; => b1
306
307LESS-THAN OR EQUAL TO: &#x2264; => b2
308&#xB2; => &#xB2;
309
310GREATER-THAN OR EQUAL TO: &#x2265; => b3
311&#xB3; => &#xB3;
312
313YEN SIGN: &#xA5; => b4
314&#xB4; => ab
315
316MICRO SIGN: &#xB5; => b5
317&#xB5; => b5
318
319PARTIAL DIFFERENTIAL: &#x2202; => b6
320&#xB6; => a6
321
322N-ARY SUMMATION: &#x2211; => b7
323&#xB7; => e1
324
325N-ARY PRODUCT: &#x220F; => b8
326&#xB8; => fc
327
328GREEK SMALL LETTER PI: &#x3C0; => b9
329&#xB9; => &#xB9;
330
331INTEGRAL: &#x222B; => ba
332&#xBA; => bc
333
334FEMININE ORDINAL INDICATOR: &#xAA; => bb
335&#xBB; => c8
336
337MASCULINE ORDINAL INDICATOR: &#xBA; => bc
338&#xBC; => &#xBC;
339
340GREEK CAPITAL LETTER OMEGA: &#x3A9; => bd
341&#xBD; => &#xBD;
342
343LATIN SMALL LETTER AE: &#xE6; => be
344&#xBE; => &#xBE;
345
346LATIN SMALL LETTER O WITH STROKE: &#xF8; => bf
347&#xBF; => c0
348
349INVERTED QUESTION MARK: &#xBF; => c0
350&#xC0; => cb
351
352INVERTED EXCLAMATION MARK: &#xA1; => c1
353&#xC1; => e7
354
355NOT SIGN: &#xAC; => c2
356&#xC2; => e5
357
358SQUARE ROOT: &#x221A; => c3
359&#xC3; => cc
360
361LATIN SMALL LETTER F WITH HOOK: &#x192; => c4
362&#xC4; => 80
363
364ALMOST EQUAL TO: &#x2248; => c5
365&#xC5; => 81
366
367INCREMENT: &#x2206; => c6
368&#xC6; => ae
369
370LEFT-POINTING DOUBLE ANGLE QUOTATION MARK: &#xAB; => c7
371&#xC7; => 82
372
373RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK: &#xBB; => c8
374&#xC8; => e9
375
376HORIZONTAL ELLIPSIS: &#x2026; => c9
377&#xC9; => 83
378
379NO-BREAK SPACE: &#xA0; => ca
380&#xCA; => e6
381
382LATIN CAPITAL LETTER A WITH GRAVE: &#xC0; => cb
383&#xCB; => e8
384
385LATIN CAPITAL LETTER A WITH TILDE: &#xC3; => cc
386&#xCC; => ed
387
388LATIN CAPITAL LETTER O WITH TILDE: &#xD5; => cd
389&#xCD; => ea
390
391LATIN CAPITAL LIGATURE OE: &#x152; => ce
392&#xCE; => eb
393
394LATIN SMALL LIGATURE OE: &#x153; => cf
395&#xCF; => ec
396
397EN DASH: &#x2013; => d0
398&#xD0; => &#xD0;
399
400EM DASH: &#x2014; => d1
401&#xD1; => 84
402
403LEFT DOUBLE QUOTATION MARK: &#x201C; => d2
404&#xD2; => f1
405
406RIGHT DOUBLE QUOTATION MARK: &#x201D; => d3
407&#xD3; => ee
408
409LEFT SINGLE QUOTATION MARK: &#x2018; => d4
410&#xD4; => ef
411
412RIGHT SINGLE QUOTATION MARK: &#x2019; => d5
413&#xD5; => cd
414
415DIVISION SIGN: &#xF7; => d6
416&#xD6; => 85
417
418LOZENGE: &#x25CA; => d7
419&#xD7; => &#xD7;
420
421LATIN SMALL LETTER Y WITH DIAERESIS: &#xFF; => d8
422&#xD8; => af
423
424LATIN CAPITAL LETTER Y WITH DIAERESIS: &#x178; => d9
425&#xD9; => f4
426
427FRACTION SLASH: &#x2044; => da
428&#xDA; => f2
429
430EURO SIGN: &#x20AC; => db
431&#xDB; => f3
432
433SINGLE LEFT-POINTING ANGLE QUOTATION MARK: &#x2039; => dc
434&#xDC; => 86
435
436SINGLE RIGHT-POINTING ANGLE QUOTATION MARK: &#x203A; => dd
437&#xDD; => &#xDD;
438
439LATIN SMALL LIGATURE FI: &#xFB01; => de
440&#xDE; => &#xDE;
441
442LATIN SMALL LIGATURE FL: &#xFB02; => df
443&#xDF; => a7
444
445DOUBLE DAGGER: &#x2021; => e0
446&#xE0; => 88
447
448MIDDLE DOT: &#xB7; => e1
449&#xE1; => 87
450
451SINGLE LOW-9 QUOTATION MARK: &#x201A; => e2
452&#xE2; => 89
453
454DOUBLE LOW-9 QUOTATION MARK: &#x201E; => e3
455&#xE3; => 8b
456
457PER MILLE SIGN: &#x2030; => e4
458&#xE4; => 8a
459
460LATIN CAPITAL LETTER A WITH CIRCUMFLEX: &#xC2; => e5
461&#xE5; => 8c
462
463LATIN CAPITAL LETTER E WITH CIRCUMFLEX: &#xCA; => e6
464&#xE6; => be
465
466LATIN CAPITAL LETTER A WITH ACUTE: &#xC1; => e7
467&#xE7; => 8d
468
469LATIN CAPITAL LETTER E WITH DIAERESIS: &#xCB; => e8
470&#xE8; => 8f
471
472LATIN CAPITAL LETTER E WITH GRAVE: &#xC8; => e9
473&#xE9; => 8e
474
475LATIN CAPITAL LETTER I WITH ACUTE: &#xCD; => ea
476&#xEA; => 90
477
478LATIN CAPITAL LETTER I WITH CIRCUMFLEX: &#xCE; => eb
479&#xEB; => 91
480
481LATIN CAPITAL LETTER I WITH DIAERESIS: &#xCF; => ec
482&#xEC; => 93
483
484LATIN CAPITAL LETTER I WITH GRAVE: &#xCC; => ed
485&#xED; => 92
486
487LATIN CAPITAL LETTER O WITH ACUTE: &#xD3; => ee
488&#xEE; => 94
489
490LATIN CAPITAL LETTER O WITH CIRCUMFLEX: &#xD4; => ef
491&#xEF; => 95
492
493Apple logo: &#xF8FF; => f0
494&#xF0; => &#xF0;
495
496LATIN CAPITAL LETTER O WITH GRAVE: &#xD2; => f1
497&#xF1; => 96
498
499LATIN CAPITAL LETTER U WITH ACUTE: &#xDA; => f2
500&#xF2; => 98
501
502LATIN CAPITAL LETTER U WITH CIRCUMFLEX: &#xDB; => f3
503&#xF3; => 97
504
505LATIN CAPITAL LETTER U WITH GRAVE: &#xD9; => f4
506&#xF4; => 99
507
508LATIN SMALL LETTER DOTLESS I: &#x131; => f5
509&#xF5; => 9b
510
511MODIFIER LETTER CIRCUMFLEX ACCENT: &#x2C6; => f6
512&#xF6; => 9a
513
514SMALL TILDE: &#x2DC; => f7
515&#xF7; => d6
516
517MACRON: &#xAF; => f8
518&#xF8; => bf
519
520BREVE: &#x2D8; => f9
521&#xF9; => 9d
522
523DOT ABOVE: &#x2D9; => fa
524&#xFA; => 9c
525
526RING ABOVE: &#x2DA; => fb
527&#xFB; => 9e
528
529CEDILLA: &#xB8; => fc
530&#xFC; => 9f
531
532DOUBLE ACUTE ACCENT: &#x2DD; => fd
533&#xFD; => &#xFD;
534
535OGONEK: &#x2DB; => fe
536&#xFE; => &#xFE;
537
538CARON: &#x2C7; => ff
539&#xFF; => d8
540