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