mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-3346 add some conversion tables for windows system codepages
X-SVN-Rev: 13712
This commit is contained in:
parent
be20a30b7d
commit
3d43f65989
1 changed files with 16 additions and 0 deletions
16
icu4c/source/test/testdata/conversion.txt
vendored
16
icu4c/source/test/testdata/conversion.txt
vendored
|
@ -177,6 +177,22 @@ conversion {
|
|||
fromUnicode {
|
||||
Headers { "charset", "unicode", "bytes", "offsets", "flush", "fallbacks", "errorCode", "callback", "invalidUChars" }
|
||||
Cases {
|
||||
// windows-936 vs. ibm-1386
|
||||
{
|
||||
"ibm-1386",
|
||||
"\x1a\u20ac\u5555\x80\x81\U00055555",
|
||||
:bin{ 7fa2e3dffb7f7fa1a1 },
|
||||
:intvector{ 0, 1, 1, 2, 2, 3, 4, 5, 5 },
|
||||
:int{1}, :int{1}, "", "?", ""
|
||||
}
|
||||
{
|
||||
"windows-936",
|
||||
"\x1a\u20ac\u5555\x80\x81\U00055555",
|
||||
:bin{ 1a80dffb3f3f3f },
|
||||
:intvector{ 0, 1, 2, 2, 3, 4, 5 },
|
||||
:int{1}, :int{1}, "", "?", ""
|
||||
}
|
||||
|
||||
// verify that if a conversion table does not have any mapping for U+0000,
|
||||
// then there will not even be a phantom fallback to 00
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue