| OLD | NEW |
| (Empty) |
| 1 # ******************************************************************************
* | |
| 2 # * Copyright (C) 2001-2013, International Business Machines | |
| 3 # * Corporation and others. All Rights Reserved. | |
| 4 # ******************************************************************************
* | |
| 5 # | |
| 6 # test3.ucm | |
| 7 # | |
| 8 # Test file for MBCS conversion with three-byte codepage data. | |
| 9 # Also contains extension mappings (m:n). | |
| 10 | |
| 11 <code_set_name> "test3" | |
| 12 <mb_cur_max> 3 | |
| 13 <mb_cur_min> 1 | |
| 14 <uconv_class> "MBCS" | |
| 15 <subchar> \xff | |
| 16 <icu:state> 0, 1:1, 5-9, ff | |
| 17 <icu:state> 2:2 | |
| 18 <icu:state> 4, a-f.p | |
| 19 | |
| 20 CHARMAP | |
| 21 | |
| 22 # fromUnicode result is zero byte from other than U+0000 | |
| 23 <U20ac> \x00 |0 | |
| 24 | |
| 25 # nothing special | |
| 26 <U0005> \x05 |0 | |
| 27 | |
| 28 # extensions | |
| 29 <U00c0> \x05+\x01\x02\x0d |0 | |
| 30 <U00c0> \x05+\x01\x02\x0e |3 | |
| 31 <U00c0> \x05+\xff |3 | |
| 32 | |
| 33 # toUnicode result is fallback direct | |
| 34 <U0006> \x06 |3 | |
| 35 | |
| 36 # toUnicode result is direct non-BMP code point | |
| 37 <U101234> \x07 |0 | |
| 38 <Ufebcd> \x08 |3 | |
| 39 | |
| 40 # extensions | |
| 41 <U101234>+<U50005>+<U60006> \x07+\x00+\x01\x02\x0f+\x09 |0 | |
| 42 <U101234>+<U50005> \x07+\x00+\x01\x02\x0e+\x05 |0 | |
| 43 <U101234>+<U60006> \x07+\x00+\x01\x02\x0f+\x06 |0 | |
| 44 <U101234>+<U70007> \x07+\x00+\x01\x02\x0f |1 | |
| 45 | |
| 46 #unassigned \x09 | |
| 47 | |
| 48 # extensions where the first code point is unassigned, for replay testing | |
| 49 #<U00c4><U0300> \x09+\x09 |0 | |
| 50 <U00c4><U00c4><U101234><U0005> \x05+\x01\x02\x0c |0 | |
| 51 | |
| 52 # toUnicode result is surrogate pair: test real pair, single unit, unassigned | |
| 53 <U23456> \x01\x02\x0a |0 | |
| 54 <U000b> \x01\x02\x0b |0 | |
| 55 #unassigned \x01\x02\x0c | |
| 56 <U34567> \x01\x02\x0d |3 | |
| 57 <U000e> \x01\x02\x0e |3 | |
| 58 #unassigned \x01\x02\x0f | |
| 59 | |
| 60 # "good one-way" mappings | |
| 61 <U0023> \x01\x02\x04 |4 | |
| 62 <U0023>+<UFE0E> \x01\x02\x04 |4 | |
| 63 <U0023>+<UFE0F> \x01\x02\x04 |0 | |
| 64 | |
| 65 END CHARMAP | |
| OLD | NEW |