]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/testdata/test3.ucm
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / testdata / test3.ucm
1 # *******************************************************************************
2 # * Copyright (C) 2001, 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
10 <code_set_name> "test3"
11 <mb_cur_max> 3
12 <mb_cur_min> 1
13 <uconv_class> "MBCS"
14 <subchar> \xff
15 <icu:state> 0, 1:1, 5-9, ff
16 <icu:state> 2:2
17 <icu:state> a-f.p
18
19 CHARMAP
20
21 # fromUnicode result is zero byte from other than U+0000
22 <U20ac> \x00 |0
23
24 # nothing special
25 <U0005> \x05 |0
26
27 # toUnicode result is fallback direct
28 <U0006> \x06 |3
29
30 # toUnicode result is direct non-BMP code point
31 <U101234> \x07 |0
32 <Ufebcd> \x08 |3
33
34 #unassigned \x09
35
36 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
37 <U23456> \x01\x02\x0a |0
38 <U000b> \x01\x02\x0b |0
39 #unassigned \x01\x02\x0c
40 <U34567> \x01\x02\x0d |3
41 <U000e> \x01\x02\x0e |3
42 #unassigned \x01\x02\x0f
43
44 END CHARMAP