Remove obsolete files in intl/uconv. Bug 475538, r=Masatoshi Kimura <VYV03354@nifty.ne.jp>

This commit is contained in:
Simon Montagu 2009-02-12 04:09:54 -08:00
Родитель 3ffb92ef9c
Коммит d1e980ba41
17 изменённых файлов: 2 добавлений и 1249 удалений

Просмотреть файл

@ -80,7 +80,7 @@ static const char * gUkrainian[5] = {
"windows-1251",
"KOI8-U",
"ISO-8859-5",
"x-mac-ukrainian",
"x-mac-cyrillic",
"IBM866"
};

Просмотреть файл

@ -55,16 +55,12 @@ t.61-8bit.notForBrowser = true
x-imap4-modified-utf7.notForBrowser = true
windows-936.notForBrowser = true
us-ascii.notForBrowser = true
x-obsoleted-euc-jp.notForBrowser = true
x-obsoleted-iso-2022-jp.notForBrowser = true
x-obsoleted-shift_jis.notForBrowser = true
iso-8859-6-e.notForBrowser = true
iso-8859-6-i.notForBrowser = true
ibm864i.notForBrowser = true
ibm869.notForBrowser = true
ibm1125.notForBrowser = true
ibm1131.notForBrowser = true
x-ibm1046.notForBrowser = true
iso-8859-8-e.notForBrowser = true
utf-7.notForBrowser = true
@ -73,16 +69,12 @@ utf-7.notForOutgoing = true
x-imap4-modified-utf7.notForOutgoing = true
windows-936.notForOutgoing = true
us-ascii.notForOutgoing = true
x-obsoleted-euc-jp.notForOutgoing = true
x-obsoleted-iso-2022-jp.notForOutgoing = true
x-obsoleted-shift_jis.notForOutgoing = true
iso-8859-6-e.notForOutgoing = true
iso-8859-6-i.notForOutgoing = true
ibm864i.notForOutgoing = true
ibm869.notForOutgoing = true
ibm1125.notForOutgoing = true
ibm1131.notForOutgoing = true
x-ibm1046.notForOutgoing = true
iso-8859-8-e.notForOutgoing = true
iso-8859-8.notForOutgoing = true
iso-2022-kr.notForOutgoing = true
@ -118,7 +110,6 @@ ibm866.LangGroup = x-cyrillic
ibm869.LangGroup = el
ibm1125.LangGroup = x-cyrillic
ibm1131.LangGroup = x-cyrillic
x-ibm1046.LangGroup = ar
iso-2022-cn.LangGroup = zh-CN
iso-2022-jp.LangGroup = ja
iso-2022-kr.LangGroup = ko
@ -149,7 +140,6 @@ tis-620.LangGroup = th
tis620-2.LangGroup = th
windows-874.LangGroup = th
iso-8859-11.LangGroup = th
x-thaittf-0.LangGroup = th
us-ascii.LangGroup = x-western
t.61-8bit.LangGroup = x-western
utf-8.LangGroup = x-unicode
@ -174,11 +164,9 @@ windows-1256.LangGroup = ar
windows-1257.LangGroup = x-baltic
windows-1258.LangGroup = x-western
windows-936.LangGroup = zh-CN
x-cns-11643-1.LangGroup = zh-TW
x-euc-tw.LangGroup = zh-TW
x-gbk.LangGroup = zh-CN
gb_2312-80.LangGroup = zh-CN
x-gbk-noascii.LangGroup = zh-CN
x-mac-ce.LangGroup = x-central-euro
x-mac-croatian.LangGroup = x-central-euro
x-mac-cyrillic.LangGroup = x-cyrillic
@ -194,15 +182,11 @@ x-mac-ukrainian.LangGroup = x-cyrillic
x-mac-romanian.LangGroup = x-central-euro
x-user-defined.LangGroup = x-user-def
ks_c_5601-1987.LangGroup = ko
x-x11johab.LangGroup = ko
x-johab.LangGroup = ko
x-johab-noascii.LangGroup = ko
x-windows-949.LangGroup = ko
x-koreanjamo-0.LangGroup = ko
x-mac-hebrew.LangGroup = he
x-mac-arabic.LangGroup = ar
x-iso-8859-6-8-x.LangGroup = ar
x-iso-8859-6-16.LangGroup = ar
x-sun-unicode-india-0.LangGroup = x-devanagari
x-tscii.LangGroup = x-tamil
x-tamilttf-0.LangGroup = x-tamil

Просмотреть файл

@ -136,7 +136,7 @@ x-mac-icelandic=x-mac-icelandic
x-mac-croatian=x-mac-croatian
x-mac-romanian=x-mac-romanian
x-mac-cyrillic=x-mac-cyrillic
x-mac-ukrainian=x-mac-ukrainian
x-mac-ukrainian=x-mac-cyrillic
x-mac-hebrew=x-mac-hebrew
x-mac-arabic=x-mac-arabic
x-mac-farsi=x-mac-farsi
@ -513,10 +513,6 @@ cp1256=windows-1256
cp1257=windows-1257
cp1258=windows-1258
# Tempory charset for testing purpose. Should be remove before Beta
x-obsoleted-shift_jis=x-obsoleted-Shift_JIS
x-obsoleted-iso-2022-jp=x-obsoleted-ISO-2022-JP
x-obsoleted-euc-jp=x-obsoleted-EUC-JP
x-gbk=x-gbk
windows-936=windows-936
ansi-1251=windows-1251

Просмотреть файл

@ -43,7 +43,6 @@ region.20=x-mac-greek
region.21=x-mac-icelandic
region.39=x-mac-romanian
region.24=x-mac-turkish
region.62=x-mac-ukrainian
##
## Script code section, this is used to map a script code to a charset name
## It have lower priority than the Region code section

Просмотреть файл

@ -121,7 +121,6 @@
#include "nsMacCroatianToUnicode.h"
#include "nsMacRomanianToUnicode.h"
#include "nsMacCyrillicToUnicode.h"
#include "nsMacUkrainianToUnicode.h"
#include "nsMacIcelandicToUnicode.h"
#include "nsGEOSTD8ToUnicode.h"
#include "nsARMSCII8ToUnicode.h"
@ -173,7 +172,6 @@
#include "nsUnicodeToMacCroatian.h"
#include "nsUnicodeToMacRomanian.h"
#include "nsUnicodeToMacCyrillic.h"
#include "nsUnicodeToMacUkrainian.h"
#include "nsUnicodeToMacIcelandic.h"
#include "nsUnicodeToGEOSTD8.h"
#include "nsUnicodeToARMSCII8.h"
@ -332,7 +330,6 @@ NS_UCONV_REG_UNREG("x-mac-turkish", NS_MACTURKISHTOUNICODE_CID, NS_UNICODETOMACT
NS_UCONV_REG_UNREG("x-mac-croatian", NS_MACCROATIANTOUNICODE_CID, NS_UNICODETOMACCROATIAN_CID)
NS_UCONV_REG_UNREG("x-mac-romanian", NS_MACROMANIANTOUNICODE_CID, NS_UNICODETOMACROMANIAN_CID)
NS_UCONV_REG_UNREG("x-mac-cyrillic", NS_MACCYRILLICTOUNICODE_CID, NS_UNICODETOMACCYRILLIC_CID)
NS_UCONV_REG_UNREG("x-mac-ukrainian", NS_MACUKRAINIANTOUNICODE_CID, NS_UNICODETOMACUKRAINIAN_CID)
NS_UCONV_REG_UNREG("x-mac-icelandic", NS_MACICELANDICTOUNICODE_CID, NS_UNICODETOMACICELANDIC_CID)
NS_UCONV_REG_UNREG("GEOSTD8", NS_GEOSTD8TOUNICODE_CID, NS_UNICODETOGEOSTD8_CID)
NS_UCONV_REG_UNREG("armscii-8", NS_ARMSCII8TOUNICODE_CID, NS_UNICODETOARMSCII8_CID)
@ -910,11 +907,6 @@ static const nsModuleComponentInfo components[] =
NS_UNICODEDECODER_CONTRACTID_BASE "x-mac-cyrillic",
nsMacCyrillicToUnicodeConstructor ,
},
{
DECODER_NAME_BASE "x-mac-ukrainian" , NS_MACUKRAINIANTOUNICODE_CID,
NS_UNICODEDECODER_CONTRACTID_BASE "x-mac-ukrainian",
nsMacUkrainianToUnicodeConstructor ,
},
{
DECODER_NAME_BASE "x-mac-icelandic" , NS_MACICELANDICTOUNICODE_CID,
NS_UNICODEDECODER_CONTRACTID_BASE "x-mac-icelandic",
@ -1220,11 +1212,6 @@ static const nsModuleComponentInfo components[] =
NS_UNICODEENCODER_CONTRACTID_BASE "x-mac-cyrillic",
nsUnicodeToMacCyrillicConstructor,
},
{
ENCODER_NAME_BASE "x-mac-ukrainian" , NS_UNICODETOMACUKRAINIAN_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mac-ukrainian",
nsUnicodeToMacUkrainianConstructor,
},
{
ENCODER_NAME_BASE "x-mac-icelandic" , NS_UNICODETOMACICELANDIC_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mac-icelandic",

Просмотреть файл

@ -1,260 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* IBM Corporation
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0000
srcEnd = 007F
destBegin = 0000
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0621
srcEnd = 063A
destBegin = 00C1
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0640
srcEnd = 0652
destBegin = 00E0
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 0660
srcEnd = 0669
destBegin = 00B0
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = FF01
srcEnd = FF5E
destBegin = 0021
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0088
destBegin = 0088
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 00A0
srcEnd = 00AD
mappingOffset = 0000
Mapping =
00A0 FFFD FFFD FFFD 00A4 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD 00AD
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 00D7
destBegin = 0081
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 00F7
destBegin = 0082
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 060C
destBegin = 00AC
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 061B
srcEnd = 061F
mappingOffset = 000E
Mapping =
00BB FFFD FFFD FFFD 00BF
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 066A
srcEnd = 066D
mappingOffset = 0013
Mapping =
0025 002C 002E 002A
End of Item 000B
Begin of Item 000C
Format 2
srcBegin = 200B
destBegin = 00F6
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2500
srcEnd = 2518
mappingOffset = 0017
Mapping =
008B FFFD 008A FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 008D FFFD FFFD FFFD
008C FFFD FFFD FFFD 008E FFFD FFFD FFFD
008F
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 25A0
destBegin = 0089
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = FE70
srcEnd = FEFC
mappingOffset = 0030
Mapping =
00EB 0087 00EC FFFD 00ED FFFD 00EE 0094
00EF 0090 00F0 0091 00F1 0092 00F2 0093
00C1 00C2 00DC 00C3 00DD 00C4 00C4 00C5
0080 00C6 0095 00A6 00A6 00C7 00DE 00C8
00C8 00A7 00A7 00C9 00C9 00CA 00CA 00A8
00A8 00CB 00CB 00A9 00A9 00CC 00CC 00AA
00AA 00CD 00CD 00AB 00AB 00CE 00CE 00AE
00AE 00CF 00CF 00D0 00D0 00D1 00D1 00D2
00D2 00D3 00D3 00AF 00AF 00D4 00D4 00BA
00BA 00D5 00D5 00BC 00BC 00D6 00D6 00BD
00BD 00D7 00D7 00D7 00D7 00D8 00D8 00D8
00D8 00D9 00BE 00C0 00DB 00DA 0099 009A
009B 00E1 00E1 00DF 00DF 00E2 00E2 00F3
00F3 00E3 00E3 00F4 00F4 00E4 00E4 00F5
00F5 00E5 00E5 00FB 00FB 00E6 00E6 00FC
00FC 00FE 00FE 00E7 00FD 00E8 00E8 00E9
0096 00EA 0098 0097 0097 00F7 009C 00F8
009D 00F9 009E 00FA 009F
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = FFE8
srcEnd = FFED
mappingOffset = 00BD
Mapping =
008A FFFD FFFD FFFD FFFD 0089
End of Item 0010
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0011,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x003C,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x0006 */
/* Total of Format 2 : 0x0006 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x2120, 0x1122, 0x1212, 0x0001,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0000, 0x007F, 0x0000,
/* 0001 */ 0x0621, 0x063A, 0x00C1,
/* 0002 */ 0x0640, 0x0652, 0x00E0,
/* 0003 */ 0x0660, 0x0669, 0x00B0,
/* 0004 */ 0xFF01, 0xFF5E, 0x0021,
/* 0005 */ 0x0088, 0x0000, 0x0088,
/* 0006 */ 0x00A0, 0x00AD, 0x0000,
/* 0007 */ 0x00D7, 0x0000, 0x0081,
/* 0008 */ 0x00F7, 0x0000, 0x0082,
/* 0009 */ 0x060C, 0x0000, 0x00AC,
/* 000A */ 0x061B, 0x061F, 0x000E,
/* 000B */ 0x066A, 0x066D, 0x0013,
/* 000C */ 0x200B, 0x0000, 0x00F6,
/* 000D */ 0x2500, 0x2518, 0x0017,
/* 000E */ 0x25A0, 0x0000, 0x0089,
/* 000F */ 0xFE70, 0xFEFC, 0x0030,
/* 0010 */ 0xFFE8, 0xFFED, 0x00BD,
/*-------------------------------------------------------*/
/* Offset=0x003C Start of MappingTable */
/* 0000 */ 0x00A0, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A4, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00AD, 0x00BB, 0xFFFD,
/* 0010 */ 0xFFFD, 0xFFFD, 0x00BF, 0x0025, 0x002C, 0x002E, 0x002A, 0x008B,
/* 0018 */ 0xFFFD, 0x008A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x008D, 0xFFFD, 0xFFFD, 0xFFFD, 0x008C,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x008E, 0xFFFD, 0xFFFD, 0xFFFD, 0x008F,
/* 0030 */ 0x00EB, 0x0087, 0x00EC, 0xFFFD, 0x00ED, 0xFFFD, 0x00EE, 0x0094,
/* 0038 */ 0x00EF, 0x0090, 0x00F0, 0x0091, 0x00F1, 0x0092, 0x00F2, 0x0093,
/* 0040 */ 0x00C1, 0x00C2, 0x00DC, 0x00C3, 0x00DD, 0x00C4, 0x00C4, 0x00C5,
/* 0048 */ 0x0080, 0x00C6, 0x0095, 0x00A6, 0x00A6, 0x00C7, 0x00DE, 0x00C8,
/* 0050 */ 0x00C8, 0x00A7, 0x00A7, 0x00C9, 0x00C9, 0x00CA, 0x00CA, 0x00A8,
/* 0058 */ 0x00A8, 0x00CB, 0x00CB, 0x00A9, 0x00A9, 0x00CC, 0x00CC, 0x00AA,
/* 0060 */ 0x00AA, 0x00CD, 0x00CD, 0x00AB, 0x00AB, 0x00CE, 0x00CE, 0x00AE,
/* 0068 */ 0x00AE, 0x00CF, 0x00CF, 0x00D0, 0x00D0, 0x00D1, 0x00D1, 0x00D2,
/* 0070 */ 0x00D2, 0x00D3, 0x00D3, 0x00AF, 0x00AF, 0x00D4, 0x00D4, 0x00BA,
/* 0078 */ 0x00BA, 0x00D5, 0x00D5, 0x00BC, 0x00BC, 0x00D6, 0x00D6, 0x00BD,
/* 0080 */ 0x00BD, 0x00D7, 0x00D7, 0x00D7, 0x00D7, 0x00D8, 0x00D8, 0x00D8,
/* 0088 */ 0x00D8, 0x00D9, 0x00BE, 0x00C0, 0x00DB, 0x00DA, 0x0099, 0x009A,
/* 0090 */ 0x009B, 0x00E1, 0x00E1, 0x00DF, 0x00DF, 0x00E2, 0x00E2, 0x00F3,
/* 0098 */ 0x00F3, 0x00E3, 0x00E3, 0x00F4, 0x00F4, 0x00E4, 0x00E4, 0x00F5,
/* 00A0 */ 0x00F5, 0x00E5, 0x00E5, 0x00FB, 0x00FB, 0x00E6, 0x00E6, 0x00FC,
/* 00A8 */ 0x00FC, 0x00FE, 0x00FE, 0x00E7, 0x00FD, 0x00E8, 0x00E8, 0x00E9,
/* 00B0 */ 0x0096, 0x00EA, 0x0098, 0x0097, 0x0097, 0x00F7, 0x009C, 0x00F8,
/* 00B8 */ 0x009D, 0x00F9, 0x009E, 0x00FA, 0x009F, 0x008A, 0xFFFD, 0xFFFD,
/* 00C0 */ 0xFFFD, 0xFFFD, 0x0089,
/* End of table Total Length = 0x00FF * 2 */

Просмотреть файл

@ -1,154 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* IBM Corporation
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0000
srcEnd = 007F
destBegin = 0000
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 00B0
srcEnd = 00B9
destBegin = 0660
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 00C1
srcEnd = 00DA
destBegin = 0621
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 00E0
srcEnd = 00F2
destBegin = 0640
End of Item 0003
Begin of Item 0004
Format 1
srcBegin = 0080
srcEnd = 00C0
mappingOffset = 0000
Mapping =
FE88 00D7 00F7 FFFD FFFD FFFD FFFD FE71
0088 25A0 2502 2500 2510 250C 2514 2518
FE79 FE7B FE7D FE7F FE77 FE8A FEF0 FEF3
FEF2 FECE FECF FED0 FEF6 FEF8 FEFA FEFC
00A0 FFFD FFFD FFFD 00A4 FFFD FE8B FE91
FE97 FE9B FE9F FEA3 060C 00AD FEA7 FEB3
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FEB7 061B FEBB FEBF FECA 061F
FECB
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 00DB
srcEnd = 00DF
mappingOffset = 0041
Mapping =
FECC FE82 FE84 FE8E FED3
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 00F3
srcEnd = 00FF
mappingOffset = 0046
Mapping =
FED7 FEDB FEDF 200B FEF5 FEF7 FEF9 FEFB
FEE3 FEE7 FEEC FEE9 20AC
End of Item 0006
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0007,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x001B,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0004 */
/* Total of Format 1 : 0x0003 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0x0000, 0x007F, 0x0000,
/* 0001 */ 0x00B0, 0x00B9, 0x0660,
/* 0002 */ 0x00C1, 0x00DA, 0x0621,
/* 0003 */ 0x00E0, 0x00F2, 0x0640,
/* 0004 */ 0x0080, 0x00C0, 0x0000,
/* 0005 */ 0x00DB, 0x00DF, 0x0041,
/* 0006 */ 0x00F3, 0x00FF, 0x0046,
/*-------------------------------------------------------*/
/* Offset=0x001B Start of MappingTable */
/* 0000 */ 0xFE88, 0x00D7, 0x00F7, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFE71,
/* 0008 */ 0x0088, 0x25A0, 0x2502, 0x2500, 0x2510, 0x250C, 0x2514, 0x2518,
/* 0010 */ 0xFE79, 0xFE7B, 0xFE7D, 0xFE7F, 0xFE77, 0xFE8A, 0xFEF0, 0xFEF3,
/* 0018 */ 0xFEF2, 0xFECE, 0xFECF, 0xFED0, 0xFEF6, 0xFEF8, 0xFEFA, 0xFEFC,
/* 0020 */ 0x00A0, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A4, 0xFFFD, 0xFE8B, 0xFE91,
/* 0028 */ 0xFE97, 0xFE9B, 0xFE9F, 0xFEA3, 0x060C, 0x00AD, 0xFEA7, 0xFEB3,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0xFEB7, 0x061B, 0xFEBB, 0xFEBF, 0xFECA, 0x061F,
/* 0040 */ 0xFECB, 0xFECC, 0xFE82, 0xFE84, 0xFE8E, 0xFED3, 0xFED7, 0xFEDB,
/* 0048 */ 0xFEDF, 0x200B, 0xFEF5, 0xFEF7, 0xFEF9, 0xFEFB, 0xFEE3, 0xFEE7,
/* 0050 */ 0xFEEC, 0xFEE9, 0x20AC,
/* End of table Total Length = 0x006E * 2 */

Просмотреть файл

@ -1,103 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0000
srcEnd = 007F
destBegin = 0000
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 00A1
srcEnd = 00DA
destBegin = 0E01
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 00DF
srcEnd = 00FB
destBegin = 0E3F
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 00A0
destBegin = 00A0
End of Item 0003
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0012,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0000 */
/* Total of Format 2 : 0x0001 */
/* Total of Format 3 : 0x0000 */
0x2000, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0x0000, 0x007F, 0x0000,
/* 0001 */ 0x00A1, 0x00DA, 0x0E01,
/* 0002 */ 0x00DF, 0x00FB, 0x0E3F,
/* 0003 */ 0x00A0, 0x0000, 0x00A0,
/*-------------------------------------------------------*/
/* Offset=0x0012 Start of MappingTable */
/* End of table Total Length = 0x0012 * 2 */

Просмотреть файл

@ -92,7 +92,6 @@ CPPSRCS = \
nsMacCroatianToUnicode.cpp \
nsMacRomanianToUnicode.cpp \
nsMacCyrillicToUnicode.cpp \
nsMacUkrainianToUnicode.cpp \
nsMacIcelandicToUnicode.cpp \
nsMacHebrewToUnicode.cpp \
nsMacArabicToUnicode.cpp \
@ -152,7 +151,6 @@ CPPSRCS = \
nsUnicodeToMacCroatian.cpp \
nsUnicodeToMacRomanian.cpp \
nsUnicodeToMacCyrillic.cpp \
nsUnicodeToMacUkrainian.cpp \
nsUnicodeToMacIcelandic.cpp \
nsUnicodeToMacHebrew.cpp \
nsUnicodeToMacArabic.cpp \

Просмотреть файл

@ -1,235 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0020
srcEnd = 007E
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0410
srcEnd = 042F
destBegin = 0080
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0430
srcEnd = 044E
destBegin = 00E0
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00A0
srcEnd = 00BB
mappingOffset = 0000
Mapping =
00CA FFFD FFFD 00A3 FFFD FFFD FFFD 00A4
FFFD 00A9 FFFD 00C7 00C2 FFFD 00A8 FFFD
00A1 00B1 FFFD FFFD FFFD 00B5 00A6 FFFD
FFFD FFFD FFFD 00C8
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F7
destBegin = 00D6
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0192
destBegin = 00C4
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 0401
srcEnd = 040F
mappingOffset = 001C
Mapping =
00DD 00AB 00AE 00B8 00C1 00A7 00BA 00B7
00BC 00BE 00CB 00CD FFFD 00D8 00DA
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 044F
srcEnd = 045F
mappingOffset = 002B
Mapping =
00DF FFFD 00DE 00AC 00AF 00B9 00CF 00B4
00BB 00C0 00BD 00BF 00CC 00CE FFFD 00D9
00DB
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 0490
srcEnd = 0491
mappingOffset = 003C
Mapping =
00A2 00B6
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 2013
srcEnd = 2026
mappingOffset = 003E
Mapping =
00D0 00D1 FFFD FFFD FFFD 00D4 00D5 FFFD
FFFD 00D2 00D3 00D7 FFFD 00A0 FFFD 00A5
FFFD FFFD FFFD 00C9
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 20AC
destBegin = 00FF
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 2116
destBegin = 00DC
End of Item 000B
Begin of Item 000C
Format 2
srcBegin = 2122
destBegin = 00AA
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 2206
destBegin = 00C6
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 221A
srcEnd = 221E
mappingOffset = 0052
Mapping =
00C3 FFFD FFFD FFFD 00B0
End of Item 000E
Begin of Item 000F
Format 2
srcBegin = 2248
destBegin = 00C5
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 2260
srcEnd = 2265
mappingOffset = 0057
Mapping =
00AD FFFD FFFD FFFD 00B2 00B3
End of Item 0010
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0011,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x003C,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0007 */
/* Total of Format 2 : 0x0007 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1122, 0x2211, 0x2122, 0x0001,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0020, 0x007E, 0x0020,
/* 0001 */ 0x0410, 0x042F, 0x0080,
/* 0002 */ 0x0430, 0x044E, 0x00E0,
/* 0003 */ 0x00A0, 0x00BB, 0x0000,
/* 0004 */ 0x00F7, 0x0000, 0x00D6,
/* 0005 */ 0x0192, 0x0000, 0x00C4,
/* 0006 */ 0x0401, 0x040F, 0x001C,
/* 0007 */ 0x044F, 0x045F, 0x002B,
/* 0008 */ 0x0490, 0x0491, 0x003C,
/* 0009 */ 0x2013, 0x2026, 0x003E,
/* 000A */ 0x20AC, 0x0000, 0x00FF,
/* 000B */ 0x2116, 0x0000, 0x00DC,
/* 000C */ 0x2122, 0x0000, 0x00AA,
/* 000D */ 0x2206, 0x0000, 0x00C6,
/* 000E */ 0x221A, 0x221E, 0x0052,
/* 000F */ 0x2248, 0x0000, 0x00C5,
/* 0010 */ 0x2260, 0x2265, 0x0057,
/*-------------------------------------------------------*/
/* Offset=0x003C Start of MappingTable */
/* 0000 */ 0x00CA, 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A4,
/* 0008 */ 0xFFFD, 0x00A9, 0xFFFD, 0x00C7, 0x00C2, 0xFFFD, 0x00A8, 0xFFFD,
/* 0010 */ 0x00A1, 0x00B1, 0xFFFD, 0xFFFD, 0xFFFD, 0x00B5, 0x00A6, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00C8, 0x00DD, 0x00AB, 0x00AE, 0x00B8,
/* 0020 */ 0x00C1, 0x00A7, 0x00BA, 0x00B7, 0x00BC, 0x00BE, 0x00CB, 0x00CD,
/* 0028 */ 0xFFFD, 0x00D8, 0x00DA, 0x00DF, 0xFFFD, 0x00DE, 0x00AC, 0x00AF,
/* 0030 */ 0x00B9, 0x00CF, 0x00B4, 0x00BB, 0x00C0, 0x00BD, 0x00BF, 0x00CC,
/* 0038 */ 0x00CE, 0xFFFD, 0x00D9, 0x00DB, 0x00A2, 0x00B6, 0x00D0, 0x00D1,
/* 0040 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00D4, 0x00D5, 0xFFFD, 0xFFFD, 0x00D2,
/* 0048 */ 0x00D3, 0x00D7, 0xFFFD, 0x00A0, 0xFFFD, 0x00A5, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0x00C9, 0x00C3, 0xFFFD, 0xFFFD, 0xFFFD, 0x00B0, 0x00AD,
/* 0058 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00B2, 0x00B3,
/* End of table Total Length = 0x0099 * 2 */

Просмотреть файл

@ -1,128 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0020
srcEnd = 007E
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0080
srcEnd = 009F
destBegin = 0410
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 00E0
srcEnd = 00FE
destBegin = 0430
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00A0
srcEnd = 00DF
mappingOffset = 0000
Mapping =
2020 00B0 0490 00A3 00A7 2022 00B6 0406
00AE 00A9 2122 0402 0452 2260 0403 0453
221E 00B1 2264 2265 0456 00B5 0491 0408
0404 0454 0407 0457 0409 0459 040A 045A
0458 0405 00AC 221A 0192 2248 2206 00AB
00BB 2026 00A0 040B 045B 040C 045C 0455
2013 2014 201C 201D 2018 2019 00F7 201E
040E 045E 040F 045F 2116 0401 0451 044F
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00FF
destBegin = 20AC
End of Item 0004
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0005,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0015,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0001 */
/* Total of Format 2 : 0x0001 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x0002,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0x0020, 0x007E, 0x0020,
/* 0001 */ 0x0080, 0x009F, 0x0410,
/* 0002 */ 0x00E0, 0x00FE, 0x0430,
/* 0003 */ 0x00A0, 0x00DF, 0x0000,
/* 0004 */ 0x00FF, 0x0000, 0x20AC,
/*-------------------------------------------------------*/
/* Offset=0x0015 Start of MappingTable */
/* 0000 */ 0x2020, 0x00B0, 0x0490, 0x00A3, 0x00A7, 0x2022, 0x00B6, 0x0406,
/* 0008 */ 0x00AE, 0x00A9, 0x2122, 0x0402, 0x0452, 0x2260, 0x0403, 0x0453,
/* 0010 */ 0x221E, 0x00B1, 0x2264, 0x2265, 0x0456, 0x00B5, 0x0491, 0x0408,
/* 0018 */ 0x0404, 0x0454, 0x0407, 0x0457, 0x0409, 0x0459, 0x040A, 0x045A,
/* 0020 */ 0x0458, 0x0405, 0x00AC, 0x221A, 0x0192, 0x2248, 0x2206, 0x00AB,
/* 0028 */ 0x00BB, 0x2026, 0x00A0, 0x040B, 0x045B, 0x040C, 0x045C, 0x0455,
/* 0030 */ 0x2013, 0x2014, 0x201C, 0x201D, 0x2018, 0x2019, 0x00F7, 0x201E,
/* 0038 */ 0x040E, 0x045E, 0x040F, 0x045F, 0x2116, 0x0401, 0x0451, 0x044F,
/* End of table Total Length = 0x0055 * 2 */

Просмотреть файл

@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUCConstructors.h"
#include "nsMacUkrainianToUnicode.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_utMappingTable[] = {
#include "macukrai.ut"
};
NS_METHOD
nsMacUkrainianToUnicodeConstructor(nsISupports *aOuter, REFNSIID aIID,
void **aResult)
{
return CreateOneByteDecoder((uMappingTable*) &g_utMappingTable,
aOuter, aIID, aResult);
}

Просмотреть файл

@ -1,53 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsMacUkrainianToUnicode_h___
#define nsMacUkrainianToUnicode_h___
#include "nsISupports.h"
/**
* A character set converter from MacUkrainian to Unicode.
*
* @created 4/26/1999
* @author Frank Tang [ftang]
*/
NS_METHOD
nsMacUkrainianToUnicodeConstructor(nsISupports *aOuter, REFNSIID aIID,
void **aResult);
#endif /* nsMacUkrainianToUnicode_h___ */

Просмотреть файл

@ -196,11 +196,6 @@
#define NS_MACCYRILLICTOUNICODE_CID \
{ 0x6394eea9, 0xfc3d, 0x11d2, {0xb3, 0xb8, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
// Class ID for our MacUkrainianToUnicode charset converter
// {6394EEAA-FC3D-11d2-B3B8-00805F8A6670}
#define NS_MACUKRAINIANTOUNICODE_CID \
{ 0x6394eeaa, 0xfc3d, 0x11d2, {0xb3, 0xb8, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
// Class ID for our MacIcelandicToUnicode charset converter
// {6394EEAB-FC3D-11d2-B3B8-00805F8A6670}
#define NS_MACICELANDICTOUNICODE_CID \
@ -397,11 +392,6 @@
#define NS_UNICODETOMACCYRILLIC_CID \
{ 0x6394eeb9, 0xfc3d, 0x11d2, {0xb3, 0xb8, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
// Class ID for our UnicodeToMacUkrainian charset converter
// {6394EEBA-FC3D-11d2-B3B8-00805F8A6670}
#define NS_UNICODETOMACUKRAINIAN_CID \
{ 0x6394eeba, 0xfc3d, 0x11d2, {0xb3, 0xb8, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
// Class ID for our UnicodeToMacIcelandic charset converter
// {6394EEBB-FC3D-11d2-B3B8-00805F8A6670}
#define NS_UNICODETOMACICELANDIC_CID \

Просмотреть файл

@ -1,56 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUCConstructors.h"
#include "nsUnicodeToMacUkrainian.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "macukrai.uf"
};
NS_METHOD
nsUnicodeToMacUkrainianConstructor(nsISupports *aOuter, REFNSIID aIID,
void **aResult)
{
return CreateTableEncoder(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1,
aOuter, aIID, aResult);
}

Просмотреть файл

@ -1,53 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMacUkrainian_h___
#define nsUnicodeToMacUkrainian_h___
#include "nsISupports.h"
/**
* A character set converter from Unicode to MacUkrainian.
*
* @created 4/26/1999
* @author Frank Tang [ftang]
*/
NS_METHOD
nsUnicodeToMacUkrainianConstructor(nsISupports *aOuter, REFNSIID aIID,
void **aResult);
#endif /* nsUnicodeToMacUkrainian_h___ */

Просмотреть файл

@ -1,105 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called umaptable.
You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0000
srcEnd = 007F
destBegin = 0000
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 00A1
srcEnd = 00DA
destBegin = 0E01
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 00DF
srcEnd = 00FB
destBegin = 0E3F
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 00A0
destBegin = 00A0
End of Item 0003
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0012,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0000 */
/* Total of Format 2 : 0x0001 */
/* Total of Format 3 : 0x0000 */
0x2000, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0x0000, 0x007F, 0x0000,
/* 0001 */ 0x00A1, 0x00DA, 0x0E01,
/* 0002 */ 0x00DF, 0x00FB, 0x0E3F,
/* 0003 */ 0x00A0, 0x0000, 0x00A0,
/*-------------------------------------------------------*/
/* Offset=0x0012 Start of MappingTable */
/* End of table Total Length = 0x0012 * 2 */