Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / testdata / test1bmp.ucm
1 # Copyright (C) 2016 and later: Unicode, Inc. and others.
2 # License & terms of use: http://www.unicode.org/copyright.html
3 # *******************************************************************************
4 # * Copyright (C) 2007-2009, International Business Machines
5 # * Corporation and others.  All Rights Reserved.
6 # *******************************************************************************
7 #
8 # test1.ucm
9 #
10 # Test file for MBCS conversion with single-byte codepage data.
11 # BMP-only, to test optimized code path.
12 # Includes extensions.
13
14 <code_set_name>     "test1bmp"
15 <mb_cur_max>        1
16 <mb_cur_min>        1
17 <uconv_class>       "MBCS"
18 <subchar>           \xff
19 <icu:state>         0, 5-9, c:0.s, ff
20
21 CHARMAP
22
23 # fromUnicode result is zero byte from other than U+0000
24 <U0040>     \x00 |0
25 <U0061>     \x00 |1
26
27 # nothing special
28 <U0065>     \x05 |0
29
30 # toUnicode result is fallback direct
31 <U0066>     \x06 |3
32
33 #unassigned \x09
34
35 # 1:2 mapping
36 <U0074>     \x07\x09 |0
37
38 # 2:1 mapping
39 <U0075><U0076> \x08 |0
40
41 END CHARMAP