From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- intl/icu/source/test/testdata/test3.ucm | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 intl/icu/source/test/testdata/test3.ucm (limited to 'intl/icu/source/test/testdata/test3.ucm') diff --git a/intl/icu/source/test/testdata/test3.ucm b/intl/icu/source/test/testdata/test3.ucm new file mode 100644 index 0000000000..945cc7515c --- /dev/null +++ b/intl/icu/source/test/testdata/test3.ucm @@ -0,0 +1,67 @@ +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html +# ******************************************************************************* +# * Copyright (C) 2001-2013, International Business Machines +# * Corporation and others. All Rights Reserved. +# ******************************************************************************* +# +# test3.ucm +# +# Test file for MBCS conversion with three-byte codepage data. +# Also contains extension mappings (m:n). + + "test3" + 3 + 1 + "MBCS" + \xff + 0, 1:1, 5-9, ff + 2:2 + 4, a-f.p + +CHARMAP + +# fromUnicode result is zero byte from other than U+0000 + \x00 |0 + +# nothing special + \x05 |0 + +# extensions + \x05+\x01\x02\x0d |0 + \x05+\x01\x02\x0e |3 + \x05+\xff |3 + +# toUnicode result is fallback direct + \x06 |3 + +# toUnicode result is direct non-BMP code point + \x07 |0 + \x08 |3 + +# extensions +++ \x07+\x00+\x01\x02\x0f+\x09 |0 ++ \x07+\x00+\x01\x02\x0e+\x05 |0 ++ \x07+\x00+\x01\x02\x0f+\x06 |0 ++ \x07+\x00+\x01\x02\x0f |1 + +#unassigned \x09 + +# extensions where the first code point is unassigned, for replay testing +# \x09+\x09 |0 + \x05+\x01\x02\x0c |0 + +# toUnicode result is surrogate pair: test real pair, single unit, unassigned + \x01\x02\x0a |0 + \x01\x02\x0b |0 +#unassigned \x01\x02\x0c + \x01\x02\x0d |3 + \x01\x02\x0e |3 +#unassigned \x01\x02\x0f + +# "good one-way" mappings + \x01\x02\x04 |4 ++ \x01\x02\x04 |4 ++ \x01\x02\x04 |0 + +END CHARMAP -- cgit v1.2.3