X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..d25163bfc042dbef00577180ee21dd3460fc3715:/icuSources/test/testdata/test4.ucm diff --git a/icuSources/test/testdata/test4.ucm b/icuSources/test/testdata/test4.ucm index 9738964a..3b0aad0f 100644 --- a/icuSources/test/testdata/test4.ucm +++ b/icuSources/test/testdata/test4.ucm @@ -1,27 +1,35 @@ # ******************************************************************************* -# * Copyright (C) 2001, International Business Machines +# * Copyright (C) 2001-2003, International Business Machines # * Corporation and others. All Rights Reserved. # ******************************************************************************* # # test4.ucm # -# Test file for MBCS conversion with three-byte codepage data. +# Test file for MBCS conversion with four-byte codepage data. "test4" 4 1 "MBCS" - \xff - 0, 1:1, 5-9, ff - 2:2 - 3:3 - a-f.p + +# both subchars are single-byters, which does not make sense +# but works - adding subchar1 for tests but don't want to +# change old tests for a new subchar -- markus 20031028 + \xff + \xe1 + 0, 1:1, 5-9, e1, ff + 2:2 + 3:3 + a-f.p, ff CHARMAP # fromUnicode result is zero byte from other than U+0000 \x00 |0 +# fallback from non-zero to zero possible with extension table + \x00 |1 + # nothing special \x05 |0 @@ -42,4 +50,15 @@ CHARMAP \x01\x02\x03\x0e |3 #unassigned \x01\x02\x03\x0f +# non-mapping + \xe1 |2 +# add a mapping that turns the above's Unicode side into a prefix + \x06 |1 + +# many bytes, and bytes per UChar + \x01\x02\x03\x0a\x01\x02\x03\x0b\x01\x02\x03\x0c\x01\x02\x03\x0d\x01\x02\x03\x0e\x01\x02\x03\x0f\x01\x02\x03\x0a\x05\x06\x07 |0 + +# many UChars, and UChars per byte + \x08\x09 |0 + END CHARMAP