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) 2012, International Business Machines
5 # * Corporation and others. All Rights Reserved.
6 # *******************************************************************************
10 # Test file for MBCS conversion with two-byte codepage data. (DBCS)
11 # Also contains extension mappings (m:n).
13 <code_set_name> "test2"
18 <icu:state> 0, 1:1, 5-9, 1a, ff
23 # fromUnicode result is zero byte from other than U+0000
30 <U00c0> \x05+\x01\x0d |0
31 <U00c0> \x05+\x01\x0e |3
34 # toUnicode result is fallback direct
37 # toUnicode result is direct non-BMP code point
42 <U101234>+<U50005>+<U60006> \x07+\x00+\x01\x0f+\x09 |0
43 <U101234>+<U50005> \x07+\x00+\x01\x0e+\x05 |0
44 <U101234>+<U60006> \x07+\x00+\x01\x0f+\x06 |0
45 <U101234>+<U70007> \x07+\x00+\x01\x0f |1
49 # extensions where the first code point is unassigned, for replay testing
50 #<U00c4><U0300> \x09+\x09 |0
51 <U00c4><U00c4><U101234><U0005> \x05+\x01\x0c |0
53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned