]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/testdata/test1.ucm
ICU-64260.0.1.tar.gz
[apple/icu.git] / icuSources / test / testdata / test1.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) 2001-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
12 <code_set_name> "test1"
13 <mb_cur_max> 1
14 <mb_cur_min> 1
15 <uconv_class> "MBCS"
16 <subchar> \xff
17 <icu:state> 0, 5-9, a:0.s, ff
18
19 CHARMAP
20
21 # fromUnicode result is zero byte from other than U+0000
22 <U20ac> \x00 |0
23 <U20ad> \x00 |1
24
25 # nothing special
26 <U0005> \x05 |0
27
28 # toUnicode result is fallback direct
29 <U0006> \x06 |3
30
31 # toUnicode result is direct non-BMP code point
32 <U101234> \x07 |0
33 <Ufebcd> \x08 |1
34
35 #unassigned \x09
36
37 END CHARMAP