1 # *******************************************************************************
2 # * Copyright (C) 2012, International Business Machines
3 # * Corporation and others. All Rights Reserved.
4 # *******************************************************************************
8 # Test file for MBCS conversion with two-byte codepage data. (DBCS)
9 # Also contains extension mappings (m:n).
11 <code_set_name> "test2"
16 <icu:state> 0, 1:1, 5-9, 1a, ff
21 # fromUnicode result is zero byte from other than U+0000
28 <U00c0> \x05+\x01\x0d |0
29 <U00c0> \x05+\x01\x0e |3
32 # toUnicode result is fallback direct
35 # toUnicode result is direct non-BMP code point
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
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
51 # toUnicode result is surrogate pair: test real pair, single unit, unassigned