ICU-1892 Remove some old pure DBCS codepages
X-SVN-Rev: 9481
This commit is contained in:
parent
2dd3cd8c7d
commit
2b53be0fd2
@ -478,8 +478,8 @@ ibm-420 IBM420 { IANA* } ebcdic-cp-ar1 csIBM420 cp420 420
|
||||
ibm-424 IBM424 { IANA* } ebcdic-cp-he csIBM424 cp424 424
|
||||
ibm-500 IBM500 { IANA* } cpibm500 csIBM500 cp500 ebcdic-cp-be ebcdic-cp-ch 500 # EBCDIC International Latin1
|
||||
ibm-803 cp803 # Old EBCDIC Hebrew
|
||||
ibm-834 cp834 # Korean DBCS Host
|
||||
ibm-835 cp835 # DBCS T-Ch Host
|
||||
#ibm-834 cp834 # Korean DBCS Host (ibm-933 is the mixed host version of this codepage)
|
||||
#ibm-835 cp835 # DBCS T-Ch Host (ibm-9027 is the Euro update of this codepage)
|
||||
ibm-870_P100-2000 IBM870 { IANA* } ibm-870 CP870 ibm-870_STD ebcdic-cp-roece ebcdic-cp-yu csIBM870
|
||||
ibm-871 IBM871 { IANA* } ebcdic-cp-is csIBM871 cpibm871 cp871 871 # EBCDIC Iceland
|
||||
ibm-875_P100-2000 ibm-875 cp875 875 ibm-875_STD
|
||||
@ -532,7 +532,7 @@ ibm-4899 cpibm4899 # Old EBCDIC Hebrew
|
||||
ibm-4971 cpibm4971 # EBCDIC Greek
|
||||
ibm-5123 cp1027 # Host Roman Jis
|
||||
ibm-8482 # host SBCS (Katakana)
|
||||
ibm-9027 # DBCS T-Ch Host
|
||||
ibm-9027 # DBCS T-Ch Host (simlar to ibm-835)
|
||||
ibm-12712 cpibm12712 ebcdic-he # EBCDIC Hebrew (new sheqel, control charaters update)
|
||||
ibm-16684 cp300 # DBCS Jis + Roman Jis Host
|
||||
ibm-16804 cpibm16804 ebcdic-ar # EBCDIC Arabic
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -20,4 +20,4 @@ ibm-1164.ucm ibm-12712.ucm ibm-16804.ucm ibm-273.ucm ibm-277.ucm\
|
||||
ibm-278.ucm ibm-280.ucm ibm-284.ucm ibm-285.ucm ibm-290.ucm\
|
||||
ibm-297.ucm ibm-420.ucm ibm-424.ucm ibm-4899.ucm ibm-4971.ucm\
|
||||
ibm-500.ucm ibm-5123.ucm ibm-803.ucm ibm-8482.ucm ibm-871.ucm\
|
||||
ibm-933.ucm ibm-834.ucm ibm-835.ucm ibm-9027.ucm ibm-16684.ucm
|
||||
ibm-933.ucm ibm-9027.ucm ibm-16684.ucm
|
||||
|
@ -372,7 +372,7 @@ static void TestConvert()
|
||||
log_err("FAILURE! %s\n", myErrorName(err));
|
||||
}
|
||||
|
||||
someConverters[3] = ucnv_open("ibm-834", &err);
|
||||
someConverters[3] = ucnv_open("gb18030", &err);
|
||||
if (U_FAILURE(err)) {
|
||||
log_err("FAILURE! %s\n", myErrorName(err));
|
||||
}
|
||||
|
@ -103,8 +103,8 @@ char convertersToCheck[][15] = {
|
||||
/* "cp9066",
|
||||
"cp1129",*/
|
||||
"cp1027",
|
||||
"cp300",
|
||||
/* "cp4930",*/
|
||||
/* "cp300",*/
|
||||
/* "cp4930",*/
|
||||
"cp1364",
|
||||
/* "cp1362" removed 2000nov28 */
|
||||
"cp1363",
|
||||
|
@ -633,9 +633,9 @@ static void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize )
|
||||
{ 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0006, 0x0008, 0x000a};
|
||||
|
||||
/* 1 2 3 0 h1 h2 h3 . DBCS*/
|
||||
const uint8_t expectedIBM835[] =
|
||||
const uint8_t expectedIBM9027[] =
|
||||
{ 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x4c, 0x41, 0x4c, 0x48, 0x4c, 0x55, 0xfe, 0xfe};
|
||||
int32_t toIBM835Offs [] =
|
||||
int32_t toIBM9027Offs [] =
|
||||
{ 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x04, 0x04, 0x05, 0x05, 0x06, 0x06, 0x07, 0x07};
|
||||
|
||||
/* 1 2 3 0 <?> <?> <?> . SBCS*/
|
||||
@ -797,8 +797,8 @@ static void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize )
|
||||
log_err("u-> ibm-943 [UCNV_MBCS] not match.\n");
|
||||
/*DBCS*/
|
||||
if(!testConvertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
|
||||
expectedIBM835, sizeof(expectedIBM835), "ibm-835", toIBM835Offs,FALSE ))
|
||||
log_err("u-> ibm-835 [UCNV_DBCS] not match.\n");
|
||||
expectedIBM9027, sizeof(expectedIBM9027), "ibm-9027", toIBM9027Offs,FALSE ))
|
||||
log_err("u-> ibm-9027 [UCNV_DBCS] not match.\n");
|
||||
/*SBCS*/
|
||||
if(!testConvertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
|
||||
expectedIBM920, sizeof(expectedIBM920), "ibm-920", toIBM920Offs,FALSE ))
|
||||
|
@ -170,7 +170,7 @@ void ConvertTest::TestConvert()
|
||||
return;
|
||||
}
|
||||
|
||||
someConverters[3] = new UnicodeConverter("ibm-834", err);
|
||||
someConverters[3] = new UnicodeConverter("ibm-1383", err);
|
||||
if (U_FAILURE(err)) {
|
||||
errln ((UnicodeString)"FAILURE d! " + myErrorName(err));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user