1 # *******************************************************************************
2 # * Copyright (C) 2001-2003, International Business Machines
3 # * Corporation and others. All Rights Reserved.
4 # *******************************************************************************
8 # Test file for MBCS conversion with three-byte codepage data.
9 # Also contains extension mappings (m:n).
11 <code_set_name> "test3"
16 <icu:state> 0, 1:1, 5-9, ff
22 # fromUnicode result is zero byte from other than U+0000
29 <U00c0> \x05+\x01\x02\x0d |0
30 <U00c0> \x05+\x01\x02\x0e |3
33 # toUnicode result is fallback direct
36 # toUnicode result is direct non-BMP code point
41 <U101234>+<U50005>+<U60006> \x07+\x00+\x01\x02\x0f+\x09 |0
42 <U101234>+<U50005> \x07+\x00+\x01\x02\x0e+\x05 |0
43 <U101234>+<U60006> \x07+\x00+\x01\x02\x0f+\x06 |0
44 <U101234>+<U70007> \x07+\x00+\x01\x02\x0f |1
48 # extensions where the first code point is unassigned, for replay testing
49 #<U00c4><U0300> \x09+\x09 |0
50 <U00c4><U00c4><U101234><U0005> \x05+\x01\x02\x0c |0
52 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
53 <U23456> \x01\x02\x0a |0
54 <U000b> \x01\x02\x0b |0
55 #unassigned \x01\x02\x0c
56 <U34567> \x01\x02\x0d |3
57 <U000e> \x01\x02\x0e |3
58 #unassigned \x01\x02\x0f