From e0d43d48a6d8978c8899a9363f38a58431258afa Mon Sep 17 00:00:00 2001 From: "cata%netscape.com" Date: Wed, 21 Apr 1999 21:29:25 +0000 Subject: [PATCH] New converters added. --- intl/uconv/src/registryhack2.h | 88 ++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 37 deletions(-) diff --git a/intl/uconv/src/registryhack2.h b/intl/uconv/src/registryhack2.h index 2f8722dca69..ce99980a43c 100644 --- a/intl/uconv/src/registryhack2.h +++ b/intl/uconv/src/registryhack2.h @@ -17,53 +17,67 @@ * Netscape Communications Corporation. All Rights Reserved. */ - mDecSize = 20; + mDecSize = 27; mDecArray = new ConverterInfo [mDecSize]; mDecArray[0].mCID = &kISO88591ToUnicodeCID; mDecArray[1].mCID = &kISO88592ToUnicodeCID; - mDecArray[2].mCID = &kISO88597ToUnicodeCID; - mDecArray[3].mCID = &kISO88599ToUnicodeCID; - mDecArray[4].mCID = &kCP1250ToUnicodeCID; - mDecArray[5].mCID = &kCP1252ToUnicodeCID; - mDecArray[6].mCID = &kCP1253ToUnicodeCID; - mDecArray[7].mCID = &kCP1254ToUnicodeCID; - mDecArray[8].mCID = &kMacRomanToUnicodeCID; - mDecArray[9].mCID = &kMacCEToUnicodeCID; - mDecArray[10].mCID = &kMacGreekToUnicodeCID; - mDecArray[11].mCID = &kMacTurkishToUnicodeCID; - mDecArray[12].mCID = &kUTF8ToUnicodeCID; + mDecArray[2].mCID = &kISO88593ToUnicodeCID; + mDecArray[3].mCID = &kISO88594ToUnicodeCID; + mDecArray[4].mCID = &kISO88595ToUnicodeCID; + mDecArray[5].mCID = &kISO88596ToUnicodeCID; + mDecArray[6].mCID = &kISO88597ToUnicodeCID; + mDecArray[7].mCID = &kISO88598ToUnicodeCID; + mDecArray[8].mCID = &kISO88599ToUnicodeCID; + mDecArray[9].mCID = &kCP1250ToUnicodeCID; + mDecArray[10].mCID = &kCP1251ToUnicodeCID; + mDecArray[11].mCID = &kCP1252ToUnicodeCID; + mDecArray[12].mCID = &kCP1253ToUnicodeCID; + mDecArray[13].mCID = &kCP1254ToUnicodeCID; + mDecArray[14].mCID = &kCP1257ToUnicodeCID; + mDecArray[15].mCID = &kMacRomanToUnicodeCID; + mDecArray[16].mCID = &kMacCEToUnicodeCID; + mDecArray[17].mCID = &kMacGreekToUnicodeCID; + mDecArray[18].mCID = &kMacTurkishToUnicodeCID; + mDecArray[19].mCID = &kUTF8ToUnicodeCID; - mDecArray[13].mCID = &kSJIS2UnicodeCID; - mDecArray[14].mCID = &kISO2022JPToUnicodeCID; - mDecArray[15].mCID = &kEUCJPToUnicodeCID; + mDecArray[20].mCID = &kSJIS2UnicodeCID; + mDecArray[21].mCID = &kISO2022JPToUnicodeCID; + mDecArray[22].mCID = &kEUCJPToUnicodeCID; - mDecArray[16].mCID = &kBIG5ToUnicodeCID; - mDecArray[17].mCID = &kEUCTWToUnicodeCID; - mDecArray[18].mCID = &kGB2312ToUnicodeCID; - mDecArray[19].mCID = &kEUCKRToUnicodeCID; + mDecArray[23].mCID = &kBIG5ToUnicodeCID; + mDecArray[24].mCID = &kEUCTWToUnicodeCID; + mDecArray[25].mCID = &kGB2312ToUnicodeCID; + mDecArray[26].mCID = &kEUCKRToUnicodeCID; - mEncSize = 19; + mEncSize = 26; mEncArray = new ConverterInfo [mEncSize]; mEncArray[0].mCID = &kUnicodeToISO88591CID; mEncArray[1].mCID = &kUnicodeToISO88592CID; - mEncArray[2].mCID = &kUnicodeToISO88597CID; - mEncArray[3].mCID = &kUnicodeToISO88599CID; - mEncArray[4].mCID = &kUnicodeToCP1250CID; - mEncArray[5].mCID = &kUnicodeToCP1252CID; - mEncArray[6].mCID = &kUnicodeToCP1253CID; - mEncArray[7].mCID = &kUnicodeToCP1254CID; - mEncArray[8].mCID = &kUnicodeToMacRomanCID; - mEncArray[9].mCID = &kUnicodeToMacCECID; - mEncArray[10].mCID = &kUnicodeToMacGreekCID; - mEncArray[11].mCID = &kUnicodeToMacTurkishCID; - mEncArray[12].mCID = &kUnicodeToUTF8CID; + mEncArray[2].mCID = &kUnicodeToISO88593CID; + mEncArray[3].mCID = &kUnicodeToISO88594CID; + mEncArray[4].mCID = &kUnicodeToISO88595CID; + mEncArray[5].mCID = &kUnicodeToISO88596CID; + mEncArray[6].mCID = &kUnicodeToISO88597CID; + mEncArray[7].mCID = &kUnicodeToISO88598CID; + mEncArray[8].mCID = &kUnicodeToISO88599CID; + mEncArray[9].mCID = &kUnicodeToCP1250CID; + mEncArray[10].mCID = &kUnicodeToCP1251CID; + mEncArray[11].mCID = &kUnicodeToCP1252CID; + mEncArray[12].mCID = &kUnicodeToCP1253CID; + mEncArray[13].mCID = &kUnicodeToCP1254CID; + mEncArray[14].mCID = &kUnicodeToCP1257CID; + mEncArray[15].mCID = &kUnicodeToMacRomanCID; + mEncArray[16].mCID = &kUnicodeToMacCECID; + mEncArray[17].mCID = &kUnicodeToMacGreekCID; + mEncArray[18].mCID = &kUnicodeToMacTurkishCID; + mEncArray[19].mCID = &kUnicodeToUTF8CID; - mEncArray[13].mCID = &kUnicodeToSJISCID; - mEncArray[14].mCID = &kUnicodeToEUCJPCID; + mEncArray[20].mCID = &kUnicodeToSJISCID; + mEncArray[21].mCID = &kUnicodeToEUCJPCID; - mEncArray[15].mCID = &kUnicodeToBIG5CID; - mEncArray[16].mCID = &kUnicodeToEUCTWCID; - mEncArray[17].mCID = &kUnicodeToGB2312CID; - mEncArray[18].mCID = &kUnicodeToEUCKRCID; + mEncArray[22].mCID = &kUnicodeToBIG5CID; + mEncArray[23].mCID = &kUnicodeToEUCTWCID; + mEncArray[24].mCID = &kUnicodeToGB2312CID; + mEncArray[25].mCID = &kUnicodeToEUCKRCID;