jaxp/src/com/sun/org/apache/xerces/internal/util/EncodingMap.java
author henryjen
Tue, 24 Jun 2014 14:07:05 -0700
changeset 25264 040625ce9b72
parent 23094 681fdd03de81
permissions -rw-r--r--
8048021: Remove @version tag in jaxp repo Reviewed-by: joehw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
     2
 * reserved comment block
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
 * DO NOT REMOVE OR ALTER!
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
/*
23094
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
     6
 * Licensed to the Apache Software Foundation (ASF) under one or more
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
     7
 * contributor license agreements.  See the NOTICE file distributed with
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
     8
 * this work for additional information regarding copyright ownership.
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
     9
 * The ASF licenses this file to You under the Apache License, Version 2.0
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
    10
 * (the "License"); you may not use this file except in compliance with
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
    11
 * the License.  You may obtain a copy of the License at
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 *      http://www.apache.org/licenses/LICENSE-2.0
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 * Unless required by applicable law or agreed to in writing, software
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 * distributed under the License is distributed on an "AS IS" BASIS,
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 * See the License for the specific language governing permissions and
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 * limitations under the License.
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
7f561c08de6b Initial load
duke
parents:
diff changeset
    22
package com.sun.org.apache.xerces.internal.util;
7f561c08de6b Initial load
duke
parents:
diff changeset
    23
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
import java.util.Hashtable;
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
/**
7f561c08de6b Initial load
duke
parents:
diff changeset
    27
 * EncodingMap is a convenience class which handles conversions between
7f561c08de6b Initial load
duke
parents:
diff changeset
    28
 * IANA encoding names and Java encoding names, and vice versa. The
7f561c08de6b Initial load
duke
parents:
diff changeset
    29
 * encoding names used in XML instance documents <strong>must</strong>
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
 * be the IANA encoding names specified or one of the aliases for those names
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
 * which IANA defines.
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
 * <p>
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
 * <TABLE BORDER="0" WIDTH="100%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    35
 *      <TD WIDTH="33%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
 *          <P ALIGN="CENTER"><B>Common Name</B>
7f561c08de6b Initial load
duke
parents:
diff changeset
    37
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    38
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    39
 *          <P ALIGN="CENTER"><B>Use this name in XML files</B>
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    42
 *          <P ALIGN="CENTER"><B>Name Type</B>
7f561c08de6b Initial load
duke
parents:
diff changeset
    43
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
 *          <P ALIGN="CENTER"><B>Xerces converts to this Java Encoder Name</B>
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    49
 *      <TD WIDTH="33%">8 bit Unicode</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
 *          <P ALIGN="CENTER">UTF-8
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    53
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    54
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    57
 *          <P ALIGN="CENTER">UTF8
7f561c08de6b Initial load
duke
parents:
diff changeset
    58
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    59
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    60
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
 *      <TD WIDTH="33%">ISO Latin 1</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    62
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    63
 *          <P ALIGN="CENTER">ISO-8859-1
7f561c08de6b Initial load
duke
parents:
diff changeset
    64
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    65
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    66
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
    67
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    68
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    69
 *          <P ALIGN="CENTER">ISO-8859-1
7f561c08de6b Initial load
duke
parents:
diff changeset
    70
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    71
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    72
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    73
 *      <TD WIDTH="33%">ISO Latin 2</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    74
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
 *          <P ALIGN="CENTER">ISO-8859-2
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    77
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    78
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
    79
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    80
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    81
 *          <P ALIGN="CENTER">ISO-8859-2
7f561c08de6b Initial load
duke
parents:
diff changeset
    82
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    83
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
 *      <TD WIDTH="33%">ISO Latin 3</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    86
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    87
 *          <P ALIGN="CENTER">ISO-8859-3
7f561c08de6b Initial load
duke
parents:
diff changeset
    88
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    89
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    90
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
    91
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    92
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    93
 *          <P ALIGN="CENTER">ISO-8859-3
7f561c08de6b Initial load
duke
parents:
diff changeset
    94
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    95
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    96
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
    97
 *      <TD WIDTH="33%">ISO Latin 4</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
    98
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
    99
 *          <P ALIGN="CENTER">ISO-8859-4
7f561c08de6b Initial load
duke
parents:
diff changeset
   100
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   101
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   102
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   103
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   104
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   105
 *          <P ALIGN="CENTER">ISO-8859-4
7f561c08de6b Initial load
duke
parents:
diff changeset
   106
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   109
 *      <TD WIDTH="33%">ISO Latin Cyrillic</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   110
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   111
 *          <P ALIGN="CENTER">ISO-8859-5
7f561c08de6b Initial load
duke
parents:
diff changeset
   112
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   113
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   114
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   115
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   116
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   117
 *          <P ALIGN="CENTER">ISO-8859-5
7f561c08de6b Initial load
duke
parents:
diff changeset
   118
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   119
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
 *      <TD WIDTH="33%">ISO Latin Arabic</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   123
 *          <P ALIGN="CENTER">ISO-8859-6
7f561c08de6b Initial load
duke
parents:
diff changeset
   124
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   126
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   127
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   128
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   129
 *          <P ALIGN="CENTER">ISO-8859-6
7f561c08de6b Initial load
duke
parents:
diff changeset
   130
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   131
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   132
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   133
 *      <TD WIDTH="33%">ISO Latin Greek</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   134
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   135
 *          <P ALIGN="CENTER">ISO-8859-7
7f561c08de6b Initial load
duke
parents:
diff changeset
   136
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   137
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   138
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   139
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   140
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   141
 *          <P ALIGN="CENTER">ISO-8859-7
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   144
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   145
 *      <TD WIDTH="33%">ISO Latin Hebrew</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   146
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   147
 *          <P ALIGN="CENTER">ISO-8859-8
7f561c08de6b Initial load
duke
parents:
diff changeset
   148
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   149
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   150
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   151
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   152
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   153
 *          <P ALIGN="CENTER">ISO-8859-8
7f561c08de6b Initial load
duke
parents:
diff changeset
   154
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   155
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   156
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   157
 *      <TD WIDTH="33%">ISO Latin 5</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   158
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   159
 *          <P ALIGN="CENTER">ISO-8859-9
7f561c08de6b Initial load
duke
parents:
diff changeset
   160
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   161
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   162
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   163
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   164
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   165
 *          <P ALIGN="CENTER">ISO-8859-9
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   168
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   169
 *      <TD WIDTH="33%">EBCDIC: US</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   170
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   171
 *          <P ALIGN="CENTER">ebcdic-cp-us
7f561c08de6b Initial load
duke
parents:
diff changeset
   172
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   173
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   174
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   175
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   176
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   177
 *          <P ALIGN="CENTER">cp037
7f561c08de6b Initial load
duke
parents:
diff changeset
   178
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   179
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   180
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
 *      <TD WIDTH="33%">EBCDIC: Canada</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
 *          <P ALIGN="CENTER">ebcdic-cp-ca
7f561c08de6b Initial load
duke
parents:
diff changeset
   184
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   185
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   186
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   187
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   188
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   189
 *          <P ALIGN="CENTER">cp037
7f561c08de6b Initial load
duke
parents:
diff changeset
   190
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   191
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   192
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   193
 *      <TD WIDTH="33%">EBCDIC: Netherlands</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   194
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   195
 *          <P ALIGN="CENTER">ebcdic-cp-nl
7f561c08de6b Initial load
duke
parents:
diff changeset
   196
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   197
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   198
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   199
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   200
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   201
 *          <P ALIGN="CENTER">cp037
7f561c08de6b Initial load
duke
parents:
diff changeset
   202
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   203
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   204
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   205
 *      <TD WIDTH="33%">EBCDIC: Denmark</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   206
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   207
 *          <P ALIGN="CENTER">ebcdic-cp-dk
7f561c08de6b Initial load
duke
parents:
diff changeset
   208
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   209
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   210
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   211
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   212
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   213
 *          <P ALIGN="CENTER">cp277
7f561c08de6b Initial load
duke
parents:
diff changeset
   214
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   215
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   216
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   217
 *      <TD WIDTH="33%">EBCDIC: Norway</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   218
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   219
 *          <P ALIGN="CENTER">ebcdic-cp-no
7f561c08de6b Initial load
duke
parents:
diff changeset
   220
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   221
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   222
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   223
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   224
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   225
 *          <P ALIGN="CENTER">cp277
7f561c08de6b Initial load
duke
parents:
diff changeset
   226
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   227
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   228
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   229
 *      <TD WIDTH="33%">EBCDIC: Finland</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   230
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   231
 *          <P ALIGN="CENTER">ebcdic-cp-fi
7f561c08de6b Initial load
duke
parents:
diff changeset
   232
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   233
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   234
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   235
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   236
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   237
 *          <P ALIGN="CENTER">cp278
7f561c08de6b Initial load
duke
parents:
diff changeset
   238
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   239
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   240
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   241
 *      <TD WIDTH="33%">EBCDIC: Sweden</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   242
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   243
 *          <P ALIGN="CENTER">ebcdic-cp-se
7f561c08de6b Initial load
duke
parents:
diff changeset
   244
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   245
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   246
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   247
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   248
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   249
 *          <P ALIGN="CENTER">cp278
7f561c08de6b Initial load
duke
parents:
diff changeset
   250
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   251
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   252
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   253
 *      <TD WIDTH="33%">EBCDIC: Italy</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   254
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   255
 *          <P ALIGN="CENTER">ebcdic-cp-it
7f561c08de6b Initial load
duke
parents:
diff changeset
   256
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   257
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   258
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   259
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   260
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   261
 *          <P ALIGN="CENTER">cp280
7f561c08de6b Initial load
duke
parents:
diff changeset
   262
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   263
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   264
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   265
 *      <TD WIDTH="33%">EBCDIC: Spain, Latin America</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   266
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   267
 *          <P ALIGN="CENTER">ebcdic-cp-es
7f561c08de6b Initial load
duke
parents:
diff changeset
   268
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   269
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   270
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   271
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   272
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   273
 *          <P ALIGN="CENTER">cp284
7f561c08de6b Initial load
duke
parents:
diff changeset
   274
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   275
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   276
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   277
 *      <TD WIDTH="33%">EBCDIC: Great Britain</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   278
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   279
 *          <P ALIGN="CENTER">ebcdic-cp-gb
7f561c08de6b Initial load
duke
parents:
diff changeset
   280
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   281
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   282
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   283
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   284
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   285
 *          <P ALIGN="CENTER">cp285
7f561c08de6b Initial load
duke
parents:
diff changeset
   286
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   287
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   288
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   289
 *      <TD WIDTH="33%">EBCDIC: France</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   290
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   291
 *          <P ALIGN="CENTER">ebcdic-cp-fr
7f561c08de6b Initial load
duke
parents:
diff changeset
   292
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   293
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   294
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   295
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   296
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   297
 *          <P ALIGN="CENTER">cp297
7f561c08de6b Initial load
duke
parents:
diff changeset
   298
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   299
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   300
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   301
 *      <TD WIDTH="33%">EBCDIC: Arabic</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   302
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   303
 *          <P ALIGN="CENTER">ebcdic-cp-ar1
7f561c08de6b Initial load
duke
parents:
diff changeset
   304
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   305
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   306
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   307
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   308
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   309
 *          <P ALIGN="CENTER">cp420
7f561c08de6b Initial load
duke
parents:
diff changeset
   310
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   311
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   312
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   313
 *      <TD WIDTH="33%">EBCDIC: Hebrew</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   314
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   315
 *          <P ALIGN="CENTER">ebcdic-cp-he
7f561c08de6b Initial load
duke
parents:
diff changeset
   316
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   317
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   318
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   319
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   320
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   321
 *          <P ALIGN="CENTER">cp424
7f561c08de6b Initial load
duke
parents:
diff changeset
   322
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   323
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   324
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   325
 *      <TD WIDTH="33%">EBCDIC: Switzerland</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   326
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   327
 *          <P ALIGN="CENTER">ebcdic-cp-ch
7f561c08de6b Initial load
duke
parents:
diff changeset
   328
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   329
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   330
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   331
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   332
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   333
 *          <P ALIGN="CENTER">cp500
7f561c08de6b Initial load
duke
parents:
diff changeset
   334
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   335
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   336
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   337
 *      <TD WIDTH="33%">EBCDIC: Roece</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   338
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   339
 *          <P ALIGN="CENTER">ebcdic-cp-roece
7f561c08de6b Initial load
duke
parents:
diff changeset
   340
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   341
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   342
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   343
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   344
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   345
 *          <P ALIGN="CENTER">cp870
7f561c08de6b Initial load
duke
parents:
diff changeset
   346
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   347
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   348
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   349
 *      <TD WIDTH="33%">EBCDIC: Yugoslavia</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   350
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   351
 *          <P ALIGN="CENTER">ebcdic-cp-yu
7f561c08de6b Initial load
duke
parents:
diff changeset
   352
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   353
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   354
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   355
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   356
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   357
 *          <P ALIGN="CENTER">cp870
7f561c08de6b Initial load
duke
parents:
diff changeset
   358
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   359
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   360
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   361
 *      <TD WIDTH="33%">EBCDIC: Iceland</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   362
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   363
 *          <P ALIGN="CENTER">ebcdic-cp-is
7f561c08de6b Initial load
duke
parents:
diff changeset
   364
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   365
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   366
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   367
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   368
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   369
 *          <P ALIGN="CENTER">cp871
7f561c08de6b Initial load
duke
parents:
diff changeset
   370
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   371
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   372
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   373
 *      <TD WIDTH="33%">EBCDIC: Urdu</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   374
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   375
 *          <P ALIGN="CENTER">ebcdic-cp-ar2
7f561c08de6b Initial load
duke
parents:
diff changeset
   376
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   377
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   378
 *          <P ALIGN="CENTER">IANA
7f561c08de6b Initial load
duke
parents:
diff changeset
   379
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   380
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   381
 *          <P ALIGN="CENTER">cp918
7f561c08de6b Initial load
duke
parents:
diff changeset
   382
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   383
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   384
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   385
 *      <TD WIDTH="33%">Chinese for PRC, mixed 1/2 byte</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   386
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   387
 *          <P ALIGN="CENTER">gb2312
7f561c08de6b Initial load
duke
parents:
diff changeset
   388
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   389
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   390
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   391
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   392
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   393
 *          <P ALIGN="CENTER">GB2312
7f561c08de6b Initial load
duke
parents:
diff changeset
   394
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   395
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   396
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   397
 *      <TD WIDTH="33%">Extended Unix Code, packed for Japanese</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   398
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   399
 *          <P ALIGN="CENTER">euc-jp
7f561c08de6b Initial load
duke
parents:
diff changeset
   400
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   401
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   402
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   403
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   404
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   405
 *          <P ALIGN="CENTER">eucjis
7f561c08de6b Initial load
duke
parents:
diff changeset
   406
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   407
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   408
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   409
 *      <TD WIDTH="33%">Japanese: iso-2022-jp</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   410
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   411
 *          <P ALIGN="CENTER">iso-2020-jp
7f561c08de6b Initial load
duke
parents:
diff changeset
   412
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   413
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   414
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   415
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   416
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   417
 *          <P ALIGN="CENTER">JIS
7f561c08de6b Initial load
duke
parents:
diff changeset
   418
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   419
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   420
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   421
 *      <TD WIDTH="33%">Japanese: Shift JIS</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   422
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   423
 *          <P ALIGN="CENTER">Shift_JIS
7f561c08de6b Initial load
duke
parents:
diff changeset
   424
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   425
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   426
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   427
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   428
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   429
 *          <P ALIGN="CENTER">SJIS
7f561c08de6b Initial load
duke
parents:
diff changeset
   430
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   431
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   432
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   433
 *      <TD WIDTH="33%">Chinese: Big5</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   434
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   435
 *          <P ALIGN="CENTER">Big5
7f561c08de6b Initial load
duke
parents:
diff changeset
   436
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   437
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   438
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   439
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   440
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   441
 *          <P ALIGN="CENTER">Big5
7f561c08de6b Initial load
duke
parents:
diff changeset
   442
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   443
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   444
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   445
 *      <TD WIDTH="33%">Extended Unix Code, packed for Korean</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   446
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   447
 *          <P ALIGN="CENTER">euc-kr
7f561c08de6b Initial load
duke
parents:
diff changeset
   448
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   449
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   450
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   451
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   452
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   453
 *          <P ALIGN="CENTER">iso2022kr
7f561c08de6b Initial load
duke
parents:
diff changeset
   454
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   455
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   456
 *  <TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   457
 *      <TD WIDTH="33%">Cyrillic</TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   458
 *      <TD WIDTH="15%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   459
 *          <P ALIGN="CENTER">koi8-r
7f561c08de6b Initial load
duke
parents:
diff changeset
   460
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   461
 *      <TD WIDTH="12%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   462
 *          <P ALIGN="CENTER">MIME
7f561c08de6b Initial load
duke
parents:
diff changeset
   463
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   464
 *      <TD WIDTH="31%">
7f561c08de6b Initial load
duke
parents:
diff changeset
   465
 *          <P ALIGN="CENTER">koi8-r
7f561c08de6b Initial load
duke
parents:
diff changeset
   466
 *      </TD>
7f561c08de6b Initial load
duke
parents:
diff changeset
   467
 *  </TR>
7f561c08de6b Initial load
duke
parents:
diff changeset
   468
 * </TABLE>
7f561c08de6b Initial load
duke
parents:
diff changeset
   469
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
   470
 * @author TAMURA Kent, IBM
7f561c08de6b Initial load
duke
parents:
diff changeset
   471
 * @author Andy Clark, IBM
7f561c08de6b Initial load
duke
parents:
diff changeset
   472
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
   473
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
   474
public class EncodingMap {
7f561c08de6b Initial load
duke
parents:
diff changeset
   475
7f561c08de6b Initial load
duke
parents:
diff changeset
   476
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   477
    // Data
7f561c08de6b Initial load
duke
parents:
diff changeset
   478
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   479
7f561c08de6b Initial load
duke
parents:
diff changeset
   480
    /** fIANA2JavaMap */
7f561c08de6b Initial load
duke
parents:
diff changeset
   481
    protected final static Hashtable fIANA2JavaMap = new Hashtable();
7f561c08de6b Initial load
duke
parents:
diff changeset
   482
7f561c08de6b Initial load
duke
parents:
diff changeset
   483
    /** fJava2IANAMap */
7f561c08de6b Initial load
duke
parents:
diff changeset
   484
    protected final static Hashtable fJava2IANAMap = new Hashtable();
7f561c08de6b Initial load
duke
parents:
diff changeset
   485
7f561c08de6b Initial load
duke
parents:
diff changeset
   486
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   487
    // Static initialization
7f561c08de6b Initial load
duke
parents:
diff changeset
   488
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   489
7f561c08de6b Initial load
duke
parents:
diff changeset
   490
    static {
7f561c08de6b Initial load
duke
parents:
diff changeset
   491
7f561c08de6b Initial load
duke
parents:
diff changeset
   492
        // add IANA to Java encoding mappings.
7f561c08de6b Initial load
duke
parents:
diff changeset
   493
        fIANA2JavaMap.put("BIG5",            "Big5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   494
        fIANA2JavaMap.put("CSBIG5",            "Big5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   495
        fIANA2JavaMap.put("CP037",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   496
        fIANA2JavaMap.put("IBM037",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   497
        fIANA2JavaMap.put("CSIBM037",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   498
        fIANA2JavaMap.put("EBCDIC-CP-US",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   499
        fIANA2JavaMap.put("EBCDIC-CP-CA",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   500
        fIANA2JavaMap.put("EBCDIC-CP-NL",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   501
        fIANA2JavaMap.put("EBCDIC-CP-WT",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   502
        fIANA2JavaMap.put("IBM273",    "CP273");
7f561c08de6b Initial load
duke
parents:
diff changeset
   503
        fIANA2JavaMap.put("CP273",    "CP273");
7f561c08de6b Initial load
duke
parents:
diff changeset
   504
        fIANA2JavaMap.put("CSIBM273",    "CP273");
7f561c08de6b Initial load
duke
parents:
diff changeset
   505
        fIANA2JavaMap.put("IBM277",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   506
        fIANA2JavaMap.put("CP277",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   507
        fIANA2JavaMap.put("CSIBM277",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   508
        fIANA2JavaMap.put("EBCDIC-CP-DK",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   509
        fIANA2JavaMap.put("EBCDIC-CP-NO",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   510
        fIANA2JavaMap.put("IBM278",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   511
        fIANA2JavaMap.put("CP278",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   512
        fIANA2JavaMap.put("CSIBM278",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   513
        fIANA2JavaMap.put("EBCDIC-CP-FI",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   514
        fIANA2JavaMap.put("EBCDIC-CP-SE",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   515
        fIANA2JavaMap.put("IBM280",    "CP280");
7f561c08de6b Initial load
duke
parents:
diff changeset
   516
        fIANA2JavaMap.put("CP280",    "CP280");
7f561c08de6b Initial load
duke
parents:
diff changeset
   517
        fIANA2JavaMap.put("CSIBM280",    "CP280");
7f561c08de6b Initial load
duke
parents:
diff changeset
   518
        fIANA2JavaMap.put("EBCDIC-CP-IT",    "CP280");
7f561c08de6b Initial load
duke
parents:
diff changeset
   519
        fIANA2JavaMap.put("IBM284",    "CP284");
7f561c08de6b Initial load
duke
parents:
diff changeset
   520
        fIANA2JavaMap.put("CP284",    "CP284");
7f561c08de6b Initial load
duke
parents:
diff changeset
   521
        fIANA2JavaMap.put("CSIBM284",    "CP284");
7f561c08de6b Initial load
duke
parents:
diff changeset
   522
        fIANA2JavaMap.put("EBCDIC-CP-ES",    "CP284");
7f561c08de6b Initial load
duke
parents:
diff changeset
   523
        fIANA2JavaMap.put("EBCDIC-CP-GB",    "CP285");
7f561c08de6b Initial load
duke
parents:
diff changeset
   524
        fIANA2JavaMap.put("IBM285",    "CP285");
7f561c08de6b Initial load
duke
parents:
diff changeset
   525
        fIANA2JavaMap.put("CP285",    "CP285");
7f561c08de6b Initial load
duke
parents:
diff changeset
   526
        fIANA2JavaMap.put("CSIBM285",    "CP285");
7f561c08de6b Initial load
duke
parents:
diff changeset
   527
        fIANA2JavaMap.put("EBCDIC-JP-KANA",    "CP290");
7f561c08de6b Initial load
duke
parents:
diff changeset
   528
        fIANA2JavaMap.put("IBM290",    "CP290");
7f561c08de6b Initial load
duke
parents:
diff changeset
   529
        fIANA2JavaMap.put("CP290",    "CP290");
7f561c08de6b Initial load
duke
parents:
diff changeset
   530
        fIANA2JavaMap.put("CSIBM290",    "CP290");
7f561c08de6b Initial load
duke
parents:
diff changeset
   531
        fIANA2JavaMap.put("EBCDIC-CP-FR",    "CP297");
7f561c08de6b Initial load
duke
parents:
diff changeset
   532
        fIANA2JavaMap.put("IBM297",    "CP297");
7f561c08de6b Initial load
duke
parents:
diff changeset
   533
        fIANA2JavaMap.put("CP297",    "CP297");
7f561c08de6b Initial load
duke
parents:
diff changeset
   534
        fIANA2JavaMap.put("CSIBM297",    "CP297");
7f561c08de6b Initial load
duke
parents:
diff changeset
   535
        fIANA2JavaMap.put("EBCDIC-CP-AR1",   "CP420");
7f561c08de6b Initial load
duke
parents:
diff changeset
   536
        fIANA2JavaMap.put("IBM420",    "CP420");
7f561c08de6b Initial load
duke
parents:
diff changeset
   537
        fIANA2JavaMap.put("CP420",    "CP420");
7f561c08de6b Initial load
duke
parents:
diff changeset
   538
        fIANA2JavaMap.put("CSIBM420",    "CP420");
7f561c08de6b Initial load
duke
parents:
diff changeset
   539
        fIANA2JavaMap.put("EBCDIC-CP-HE",    "CP424");
7f561c08de6b Initial load
duke
parents:
diff changeset
   540
        fIANA2JavaMap.put("IBM424",    "CP424");
7f561c08de6b Initial load
duke
parents:
diff changeset
   541
        fIANA2JavaMap.put("CP424",    "CP424");
7f561c08de6b Initial load
duke
parents:
diff changeset
   542
        fIANA2JavaMap.put("CSIBM424",    "CP424");
7f561c08de6b Initial load
duke
parents:
diff changeset
   543
        fIANA2JavaMap.put("IBM437",    "CP437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   544
        fIANA2JavaMap.put("437",    "CP437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   545
        fIANA2JavaMap.put("CP437",    "CP437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   546
        fIANA2JavaMap.put("CSPC8CODEPAGE437",    "CP437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   547
        fIANA2JavaMap.put("EBCDIC-CP-CH",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   548
        fIANA2JavaMap.put("IBM500",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   549
        fIANA2JavaMap.put("CP500",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   550
        fIANA2JavaMap.put("CSIBM500",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   551
        fIANA2JavaMap.put("EBCDIC-CP-CH",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   552
        fIANA2JavaMap.put("EBCDIC-CP-BE",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   553
        fIANA2JavaMap.put("IBM775",    "CP775");
7f561c08de6b Initial load
duke
parents:
diff changeset
   554
        fIANA2JavaMap.put("CP775",    "CP775");
7f561c08de6b Initial load
duke
parents:
diff changeset
   555
        fIANA2JavaMap.put("CSPC775BALTIC",    "CP775");
7f561c08de6b Initial load
duke
parents:
diff changeset
   556
        fIANA2JavaMap.put("IBM850",    "CP850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   557
        fIANA2JavaMap.put("850",    "CP850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   558
        fIANA2JavaMap.put("CP850",    "CP850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   559
        fIANA2JavaMap.put("CSPC850MULTILINGUAL",    "CP850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   560
        fIANA2JavaMap.put("IBM852",    "CP852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   561
        fIANA2JavaMap.put("852",    "CP852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   562
        fIANA2JavaMap.put("CP852",    "CP852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   563
        fIANA2JavaMap.put("CSPCP852",    "CP852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   564
        fIANA2JavaMap.put("IBM855",    "CP855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   565
        fIANA2JavaMap.put("855",    "CP855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   566
        fIANA2JavaMap.put("CP855",    "CP855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   567
        fIANA2JavaMap.put("CSIBM855",    "CP855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   568
        fIANA2JavaMap.put("IBM857",    "CP857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   569
        fIANA2JavaMap.put("857",    "CP857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   570
        fIANA2JavaMap.put("CP857",    "CP857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   571
        fIANA2JavaMap.put("CSIBM857",    "CP857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   572
        fIANA2JavaMap.put("IBM00858",    "CP858");
7f561c08de6b Initial load
duke
parents:
diff changeset
   573
        fIANA2JavaMap.put("CP00858",    "CP858");
7f561c08de6b Initial load
duke
parents:
diff changeset
   574
        fIANA2JavaMap.put("CCSID00858",    "CP858");
7f561c08de6b Initial load
duke
parents:
diff changeset
   575
        fIANA2JavaMap.put("IBM860",    "CP860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   576
        fIANA2JavaMap.put("860",    "CP860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   577
        fIANA2JavaMap.put("CP860",    "CP860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   578
        fIANA2JavaMap.put("CSIBM860",    "CP860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   579
        fIANA2JavaMap.put("IBM861",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   580
        fIANA2JavaMap.put("861",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   581
        fIANA2JavaMap.put("CP861",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   582
        fIANA2JavaMap.put("CP-IS",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   583
        fIANA2JavaMap.put("CSIBM861",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   584
        fIANA2JavaMap.put("IBM862",    "CP862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   585
        fIANA2JavaMap.put("862",    "CP862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   586
        fIANA2JavaMap.put("CP862",    "CP862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   587
        fIANA2JavaMap.put("CSPC862LATINHEBREW",    "CP862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   588
        fIANA2JavaMap.put("IBM863",    "CP863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   589
        fIANA2JavaMap.put("863",    "CP863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   590
        fIANA2JavaMap.put("CP863",    "CP863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   591
        fIANA2JavaMap.put("CSIBM863",    "CP863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   592
        fIANA2JavaMap.put("IBM864",    "CP864");
7f561c08de6b Initial load
duke
parents:
diff changeset
   593
        fIANA2JavaMap.put("CP864",    "CP864");
7f561c08de6b Initial load
duke
parents:
diff changeset
   594
        fIANA2JavaMap.put("CSIBM864",    "CP864");
7f561c08de6b Initial load
duke
parents:
diff changeset
   595
        fIANA2JavaMap.put("IBM865",    "CP865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   596
        fIANA2JavaMap.put("865",    "CP865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   597
        fIANA2JavaMap.put("CP865",    "CP865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   598
        fIANA2JavaMap.put("CSIBM865",    "CP865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   599
        fIANA2JavaMap.put("IBM866",    "CP866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   600
        fIANA2JavaMap.put("866",    "CP866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   601
        fIANA2JavaMap.put("CP866",    "CP866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   602
        fIANA2JavaMap.put("CSIBM866",    "CP866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   603
        fIANA2JavaMap.put("IBM868",    "CP868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   604
        fIANA2JavaMap.put("CP868",    "CP868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   605
        fIANA2JavaMap.put("CSIBM868",    "CP868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   606
        fIANA2JavaMap.put("CP-AR",        "CP868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   607
        fIANA2JavaMap.put("IBM869",    "CP869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   608
        fIANA2JavaMap.put("CP869",    "CP869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   609
        fIANA2JavaMap.put("CSIBM869",    "CP869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   610
        fIANA2JavaMap.put("CP-GR",        "CP869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   611
        fIANA2JavaMap.put("IBM870",    "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   612
        fIANA2JavaMap.put("CP870",    "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   613
        fIANA2JavaMap.put("CSIBM870",    "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   614
        fIANA2JavaMap.put("EBCDIC-CP-ROECE", "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   615
        fIANA2JavaMap.put("EBCDIC-CP-YU",    "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   616
        fIANA2JavaMap.put("IBM871",    "CP871");
7f561c08de6b Initial load
duke
parents:
diff changeset
   617
        fIANA2JavaMap.put("CP871",    "CP871");
7f561c08de6b Initial load
duke
parents:
diff changeset
   618
        fIANA2JavaMap.put("CSIBM871",    "CP871");
7f561c08de6b Initial load
duke
parents:
diff changeset
   619
        fIANA2JavaMap.put("EBCDIC-CP-IS",    "CP871");
7f561c08de6b Initial load
duke
parents:
diff changeset
   620
        fIANA2JavaMap.put("IBM918",    "CP918");
7f561c08de6b Initial load
duke
parents:
diff changeset
   621
        fIANA2JavaMap.put("CP918",    "CP918");
7f561c08de6b Initial load
duke
parents:
diff changeset
   622
        fIANA2JavaMap.put("CSIBM918",    "CP918");
7f561c08de6b Initial load
duke
parents:
diff changeset
   623
        fIANA2JavaMap.put("EBCDIC-CP-AR2",   "CP918");
7f561c08de6b Initial load
duke
parents:
diff changeset
   624
        fIANA2JavaMap.put("IBM00924",    "CP924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   625
        fIANA2JavaMap.put("CP00924",    "CP924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   626
        fIANA2JavaMap.put("CCSID00924",    "CP924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   627
        // is this an error???
7f561c08de6b Initial load
duke
parents:
diff changeset
   628
        fIANA2JavaMap.put("EBCDIC-LATIN9--EURO",    "CP924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   629
        fIANA2JavaMap.put("IBM1026",    "CP1026");
7f561c08de6b Initial load
duke
parents:
diff changeset
   630
        fIANA2JavaMap.put("CP1026",    "CP1026");
7f561c08de6b Initial load
duke
parents:
diff changeset
   631
        fIANA2JavaMap.put("CSIBM1026",    "CP1026");
7f561c08de6b Initial load
duke
parents:
diff changeset
   632
        fIANA2JavaMap.put("IBM01140",    "Cp1140");
7f561c08de6b Initial load
duke
parents:
diff changeset
   633
        fIANA2JavaMap.put("CP01140",    "Cp1140");
7f561c08de6b Initial load
duke
parents:
diff changeset
   634
        fIANA2JavaMap.put("CCSID01140",    "Cp1140");
7f561c08de6b Initial load
duke
parents:
diff changeset
   635
        fIANA2JavaMap.put("IBM01141",    "Cp1141");
7f561c08de6b Initial load
duke
parents:
diff changeset
   636
        fIANA2JavaMap.put("CP01141",    "Cp1141");
7f561c08de6b Initial load
duke
parents:
diff changeset
   637
        fIANA2JavaMap.put("CCSID01141",    "Cp1141");
7f561c08de6b Initial load
duke
parents:
diff changeset
   638
        fIANA2JavaMap.put("IBM01142",    "Cp1142");
7f561c08de6b Initial load
duke
parents:
diff changeset
   639
        fIANA2JavaMap.put("CP01142",    "Cp1142");
7f561c08de6b Initial load
duke
parents:
diff changeset
   640
        fIANA2JavaMap.put("CCSID01142",    "Cp1142");
7f561c08de6b Initial load
duke
parents:
diff changeset
   641
        fIANA2JavaMap.put("IBM01143",    "Cp1143");
7f561c08de6b Initial load
duke
parents:
diff changeset
   642
        fIANA2JavaMap.put("CP01143",    "Cp1143");
7f561c08de6b Initial load
duke
parents:
diff changeset
   643
        fIANA2JavaMap.put("CCSID01143",    "Cp1143");
7f561c08de6b Initial load
duke
parents:
diff changeset
   644
        fIANA2JavaMap.put("IBM01144",    "Cp1144");
7f561c08de6b Initial load
duke
parents:
diff changeset
   645
        fIANA2JavaMap.put("CP01144",    "Cp1144");
7f561c08de6b Initial load
duke
parents:
diff changeset
   646
        fIANA2JavaMap.put("CCSID01144",    "Cp1144");
7f561c08de6b Initial load
duke
parents:
diff changeset
   647
        fIANA2JavaMap.put("IBM01145",    "Cp1145");
7f561c08de6b Initial load
duke
parents:
diff changeset
   648
        fIANA2JavaMap.put("CP01145",    "Cp1145");
7f561c08de6b Initial load
duke
parents:
diff changeset
   649
        fIANA2JavaMap.put("CCSID01145",    "Cp1145");
7f561c08de6b Initial load
duke
parents:
diff changeset
   650
        fIANA2JavaMap.put("IBM01146",    "Cp1146");
7f561c08de6b Initial load
duke
parents:
diff changeset
   651
        fIANA2JavaMap.put("CP01146",    "Cp1146");
7f561c08de6b Initial load
duke
parents:
diff changeset
   652
        fIANA2JavaMap.put("CCSID01146",    "Cp1146");
7f561c08de6b Initial load
duke
parents:
diff changeset
   653
        fIANA2JavaMap.put("IBM01147",    "Cp1147");
7f561c08de6b Initial load
duke
parents:
diff changeset
   654
        fIANA2JavaMap.put("CP01147",    "Cp1147");
7f561c08de6b Initial load
duke
parents:
diff changeset
   655
        fIANA2JavaMap.put("CCSID01147",    "Cp1147");
7f561c08de6b Initial load
duke
parents:
diff changeset
   656
        fIANA2JavaMap.put("IBM01148",    "Cp1148");
7f561c08de6b Initial load
duke
parents:
diff changeset
   657
        fIANA2JavaMap.put("CP01148",    "Cp1148");
7f561c08de6b Initial load
duke
parents:
diff changeset
   658
        fIANA2JavaMap.put("CCSID01148",    "Cp1148");
7f561c08de6b Initial load
duke
parents:
diff changeset
   659
        fIANA2JavaMap.put("IBM01149",    "Cp1149");
7f561c08de6b Initial load
duke
parents:
diff changeset
   660
        fIANA2JavaMap.put("CP01149",    "Cp1149");
7f561c08de6b Initial load
duke
parents:
diff changeset
   661
        fIANA2JavaMap.put("CCSID01149",    "Cp1149");
7f561c08de6b Initial load
duke
parents:
diff changeset
   662
        fIANA2JavaMap.put("EUC-JP",          "EUCJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   663
        fIANA2JavaMap.put("CSEUCPKDFMTJAPANESE",          "EUCJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   664
        fIANA2JavaMap.put("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE",          "EUCJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   665
        fIANA2JavaMap.put("EUC-KR",          "KSC5601");
7f561c08de6b Initial load
duke
parents:
diff changeset
   666
        fIANA2JavaMap.put("CSEUCKR",          "KSC5601");
7f561c08de6b Initial load
duke
parents:
diff changeset
   667
        fIANA2JavaMap.put("KS_C_5601-1987",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   668
        fIANA2JavaMap.put("ISO-IR-149",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   669
        fIANA2JavaMap.put("KS_C_5601-1989",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   670
        fIANA2JavaMap.put("KSC_5601",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   671
        fIANA2JavaMap.put("KOREAN",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   672
        fIANA2JavaMap.put("CSKSC56011987",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   673
        fIANA2JavaMap.put("GB2312",          "GB2312");
7f561c08de6b Initial load
duke
parents:
diff changeset
   674
        fIANA2JavaMap.put("CSGB2312",          "GB2312");
7f561c08de6b Initial load
duke
parents:
diff changeset
   675
        fIANA2JavaMap.put("ISO-2022-JP",     "JIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   676
        fIANA2JavaMap.put("CSISO2022JP",     "JIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   677
        fIANA2JavaMap.put("ISO-2022-KR",     "ISO2022KR");
7f561c08de6b Initial load
duke
parents:
diff changeset
   678
        fIANA2JavaMap.put("CSISO2022KR",     "ISO2022KR");
7f561c08de6b Initial load
duke
parents:
diff changeset
   679
        fIANA2JavaMap.put("ISO-2022-CN",     "ISO2022CN");
7f561c08de6b Initial load
duke
parents:
diff changeset
   680
7f561c08de6b Initial load
duke
parents:
diff changeset
   681
        fIANA2JavaMap.put("X0201",  "JIS0201");
7f561c08de6b Initial load
duke
parents:
diff changeset
   682
        fIANA2JavaMap.put("CSISO13JISC6220JP", "JIS0201");
7f561c08de6b Initial load
duke
parents:
diff changeset
   683
        fIANA2JavaMap.put("X0208",  "JIS0208");
7f561c08de6b Initial load
duke
parents:
diff changeset
   684
        fIANA2JavaMap.put("ISO-IR-87",  "JIS0208");
7f561c08de6b Initial load
duke
parents:
diff changeset
   685
        fIANA2JavaMap.put("X0208dbiJIS_X0208-1983",  "JIS0208");
7f561c08de6b Initial load
duke
parents:
diff changeset
   686
        fIANA2JavaMap.put("CSISO87JISX0208",  "JIS0208");
7f561c08de6b Initial load
duke
parents:
diff changeset
   687
        fIANA2JavaMap.put("X0212",  "JIS0212");
7f561c08de6b Initial load
duke
parents:
diff changeset
   688
        fIANA2JavaMap.put("ISO-IR-159",  "JIS0212");
7f561c08de6b Initial load
duke
parents:
diff changeset
   689
        fIANA2JavaMap.put("CSISO159JISX02121990",  "JIS0212");
7f561c08de6b Initial load
duke
parents:
diff changeset
   690
        fIANA2JavaMap.put("GB18030",       "GB18030");
7f561c08de6b Initial load
duke
parents:
diff changeset
   691
        fIANA2JavaMap.put("GBK",       "GBK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   692
        fIANA2JavaMap.put("CP936",       "GBK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   693
        fIANA2JavaMap.put("MS936",       "GBK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   694
        fIANA2JavaMap.put("WINDOWS-936",       "GBK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   695
        fIANA2JavaMap.put("SHIFT_JIS",       "SJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   696
        fIANA2JavaMap.put("CSSHIFTJIS",       "SJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   697
        fIANA2JavaMap.put("MS_KANJI",       "SJIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   698
        fIANA2JavaMap.put("WINDOWS-31J",       "MS932");
7f561c08de6b Initial load
duke
parents:
diff changeset
   699
        fIANA2JavaMap.put("CSWINDOWS31J",       "MS932");
7f561c08de6b Initial load
duke
parents:
diff changeset
   700
7f561c08de6b Initial load
duke
parents:
diff changeset
   701
            // Add support for Cp1252 and its friends
7f561c08de6b Initial load
duke
parents:
diff changeset
   702
        fIANA2JavaMap.put("WINDOWS-1250",   "Cp1250");
7f561c08de6b Initial load
duke
parents:
diff changeset
   703
        fIANA2JavaMap.put("WINDOWS-1251",   "Cp1251");
7f561c08de6b Initial load
duke
parents:
diff changeset
   704
        fIANA2JavaMap.put("WINDOWS-1252",   "Cp1252");
7f561c08de6b Initial load
duke
parents:
diff changeset
   705
        fIANA2JavaMap.put("WINDOWS-1253",   "Cp1253");
7f561c08de6b Initial load
duke
parents:
diff changeset
   706
        fIANA2JavaMap.put("WINDOWS-1254",   "Cp1254");
7f561c08de6b Initial load
duke
parents:
diff changeset
   707
        fIANA2JavaMap.put("WINDOWS-1255",   "Cp1255");
7f561c08de6b Initial load
duke
parents:
diff changeset
   708
        fIANA2JavaMap.put("WINDOWS-1256",   "Cp1256");
7f561c08de6b Initial load
duke
parents:
diff changeset
   709
        fIANA2JavaMap.put("WINDOWS-1257",   "Cp1257");
7f561c08de6b Initial load
duke
parents:
diff changeset
   710
        fIANA2JavaMap.put("WINDOWS-1258",   "Cp1258");
7f561c08de6b Initial load
duke
parents:
diff changeset
   711
        fIANA2JavaMap.put("TIS-620",   "TIS620");
7f561c08de6b Initial load
duke
parents:
diff changeset
   712
7f561c08de6b Initial load
duke
parents:
diff changeset
   713
        fIANA2JavaMap.put("ISO-8859-1",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   714
        fIANA2JavaMap.put("ISO-IR-100",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   715
        fIANA2JavaMap.put("ISO_8859-1",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   716
        fIANA2JavaMap.put("LATIN1",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   717
        fIANA2JavaMap.put("CSISOLATIN1",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   718
        fIANA2JavaMap.put("L1",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   719
        fIANA2JavaMap.put("IBM819",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   720
        fIANA2JavaMap.put("CP819",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   721
7f561c08de6b Initial load
duke
parents:
diff changeset
   722
        fIANA2JavaMap.put("ISO-8859-2",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   723
        fIANA2JavaMap.put("ISO-IR-101",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   724
        fIANA2JavaMap.put("ISO_8859-2",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   725
        fIANA2JavaMap.put("LATIN2",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   726
        fIANA2JavaMap.put("CSISOLATIN2",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   727
        fIANA2JavaMap.put("L2",      "ISO8859_2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   728
7f561c08de6b Initial load
duke
parents:
diff changeset
   729
        fIANA2JavaMap.put("ISO-8859-3",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   730
        fIANA2JavaMap.put("ISO-IR-109",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   731
        fIANA2JavaMap.put("ISO_8859-3",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   732
        fIANA2JavaMap.put("LATIN3",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   733
        fIANA2JavaMap.put("CSISOLATIN3",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   734
        fIANA2JavaMap.put("L3",      "ISO8859_3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   735
7f561c08de6b Initial load
duke
parents:
diff changeset
   736
        fIANA2JavaMap.put("ISO-8859-4",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   737
        fIANA2JavaMap.put("ISO-IR-110",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   738
        fIANA2JavaMap.put("ISO_8859-4",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   739
        fIANA2JavaMap.put("LATIN4",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   740
        fIANA2JavaMap.put("CSISOLATIN4",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   741
        fIANA2JavaMap.put("L4",      "ISO8859_4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   742
7f561c08de6b Initial load
duke
parents:
diff changeset
   743
        fIANA2JavaMap.put("ISO-8859-5",      "ISO8859_5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   744
        fIANA2JavaMap.put("ISO-IR-144",      "ISO8859_5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   745
        fIANA2JavaMap.put("ISO_8859-5",      "ISO8859_5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   746
        fIANA2JavaMap.put("CYRILLIC",      "ISO8859_5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   747
        fIANA2JavaMap.put("CSISOLATINCYRILLIC",      "ISO8859_5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   748
7f561c08de6b Initial load
duke
parents:
diff changeset
   749
        fIANA2JavaMap.put("ISO-8859-6",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   750
        fIANA2JavaMap.put("ISO-IR-127",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   751
        fIANA2JavaMap.put("ISO_8859-6",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   752
        fIANA2JavaMap.put("ECMA-114",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   753
        fIANA2JavaMap.put("ASMO-708",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   754
        fIANA2JavaMap.put("ARABIC",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   755
        fIANA2JavaMap.put("CSISOLATINARABIC",      "ISO8859_6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   756
7f561c08de6b Initial load
duke
parents:
diff changeset
   757
        fIANA2JavaMap.put("ISO-8859-7",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   758
        fIANA2JavaMap.put("ISO-IR-126",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   759
        fIANA2JavaMap.put("ISO_8859-7",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   760
        fIANA2JavaMap.put("ELOT_928",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   761
        fIANA2JavaMap.put("ECMA-118",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   762
        fIANA2JavaMap.put("GREEK",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   763
        fIANA2JavaMap.put("CSISOLATINGREEK",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   764
        fIANA2JavaMap.put("GREEK8",      "ISO8859_7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   765
7f561c08de6b Initial load
duke
parents:
diff changeset
   766
        fIANA2JavaMap.put("ISO-8859-8",      "ISO8859_8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   767
        fIANA2JavaMap.put("ISO-8859-8-I",      "ISO8859_8"); // added since this encoding only differs w.r.t. presentation
7f561c08de6b Initial load
duke
parents:
diff changeset
   768
        fIANA2JavaMap.put("ISO-IR-138",      "ISO8859_8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   769
        fIANA2JavaMap.put("ISO_8859-8",      "ISO8859_8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   770
        fIANA2JavaMap.put("HEBREW",      "ISO8859_8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   771
        fIANA2JavaMap.put("CSISOLATINHEBREW",      "ISO8859_8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   772
7f561c08de6b Initial load
duke
parents:
diff changeset
   773
        fIANA2JavaMap.put("ISO-8859-9",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   774
        fIANA2JavaMap.put("ISO-IR-148",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   775
        fIANA2JavaMap.put("ISO_8859-9",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   776
        fIANA2JavaMap.put("LATIN5",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   777
        fIANA2JavaMap.put("CSISOLATIN5",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   778
        fIANA2JavaMap.put("L5",      "ISO8859_9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   779
7f561c08de6b Initial load
duke
parents:
diff changeset
   780
        fIANA2JavaMap.put("ISO-8859-13",      "ISO8859_13");
7f561c08de6b Initial load
duke
parents:
diff changeset
   781
7f561c08de6b Initial load
duke
parents:
diff changeset
   782
        fIANA2JavaMap.put("ISO-8859-15",      "ISO8859_15_FDIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   783
        fIANA2JavaMap.put("ISO_8859-15",      "ISO8859_15_FDIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   784
        fIANA2JavaMap.put("LATIN-9",          "ISO8859_15_FDIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   785
7f561c08de6b Initial load
duke
parents:
diff changeset
   786
        fIANA2JavaMap.put("KOI8-R",          "KOI8_R");
7f561c08de6b Initial load
duke
parents:
diff changeset
   787
        fIANA2JavaMap.put("CSKOI8R",          "KOI8_R");
7f561c08de6b Initial load
duke
parents:
diff changeset
   788
        fIANA2JavaMap.put("US-ASCII",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   789
        fIANA2JavaMap.put("ISO-IR-6",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   790
        fIANA2JavaMap.put("ANSI_X3.4-1968",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   791
        fIANA2JavaMap.put("ANSI_X3.4-1986",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   792
        fIANA2JavaMap.put("ISO_646.IRV:1991",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   793
        fIANA2JavaMap.put("ASCII",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   794
        fIANA2JavaMap.put("CSASCII",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   795
        fIANA2JavaMap.put("ISO646-US",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   796
        fIANA2JavaMap.put("US",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   797
        fIANA2JavaMap.put("IBM367",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   798
        fIANA2JavaMap.put("CP367",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   799
        fIANA2JavaMap.put("UTF-8",           "UTF8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   800
        fIANA2JavaMap.put("UTF-16",           "UTF-16");
7f561c08de6b Initial load
duke
parents:
diff changeset
   801
        fIANA2JavaMap.put("UTF-16BE",           "UnicodeBig");
7f561c08de6b Initial load
duke
parents:
diff changeset
   802
        fIANA2JavaMap.put("UTF-16LE",           "UnicodeLittle");
7f561c08de6b Initial load
duke
parents:
diff changeset
   803
7f561c08de6b Initial load
duke
parents:
diff changeset
   804
        // support for 1047, as proposed to be added to the
7f561c08de6b Initial load
duke
parents:
diff changeset
   805
        // IANA registry in
7f561c08de6b Initial load
duke
parents:
diff changeset
   806
        // http://lists.w3.org/Archives/Public/ietf-charset/2002JulSep/0049.html
7f561c08de6b Initial load
duke
parents:
diff changeset
   807
        fIANA2JavaMap.put("IBM-1047",    "Cp1047");
7f561c08de6b Initial load
duke
parents:
diff changeset
   808
        fIANA2JavaMap.put("IBM1047",    "Cp1047");
7f561c08de6b Initial load
duke
parents:
diff changeset
   809
        fIANA2JavaMap.put("CP1047",    "Cp1047");
7f561c08de6b Initial load
duke
parents:
diff changeset
   810
7f561c08de6b Initial load
duke
parents:
diff changeset
   811
        // Adding new aliases as proposed in
7f561c08de6b Initial load
duke
parents:
diff changeset
   812
        // http://lists.w3.org/Archives/Public/ietf-charset/2002JulSep/0058.html
7f561c08de6b Initial load
duke
parents:
diff changeset
   813
        fIANA2JavaMap.put("IBM-37",    "CP037");
7f561c08de6b Initial load
duke
parents:
diff changeset
   814
        fIANA2JavaMap.put("IBM-273",    "CP273");
7f561c08de6b Initial load
duke
parents:
diff changeset
   815
        fIANA2JavaMap.put("IBM-277",    "CP277");
7f561c08de6b Initial load
duke
parents:
diff changeset
   816
        fIANA2JavaMap.put("IBM-278",    "CP278");
7f561c08de6b Initial load
duke
parents:
diff changeset
   817
        fIANA2JavaMap.put("IBM-280",    "CP280");
7f561c08de6b Initial load
duke
parents:
diff changeset
   818
        fIANA2JavaMap.put("IBM-284",    "CP284");
7f561c08de6b Initial load
duke
parents:
diff changeset
   819
        fIANA2JavaMap.put("IBM-285",    "CP285");
7f561c08de6b Initial load
duke
parents:
diff changeset
   820
        fIANA2JavaMap.put("IBM-290",    "CP290");
7f561c08de6b Initial load
duke
parents:
diff changeset
   821
        fIANA2JavaMap.put("IBM-297",    "CP297");
7f561c08de6b Initial load
duke
parents:
diff changeset
   822
        fIANA2JavaMap.put("IBM-420",    "CP420");
7f561c08de6b Initial load
duke
parents:
diff changeset
   823
        fIANA2JavaMap.put("IBM-424",    "CP424");
7f561c08de6b Initial load
duke
parents:
diff changeset
   824
        fIANA2JavaMap.put("IBM-437",    "CP437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   825
        fIANA2JavaMap.put("IBM-500",    "CP500");
7f561c08de6b Initial load
duke
parents:
diff changeset
   826
        fIANA2JavaMap.put("IBM-775",    "CP775");
7f561c08de6b Initial load
duke
parents:
diff changeset
   827
        fIANA2JavaMap.put("IBM-850",    "CP850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   828
        fIANA2JavaMap.put("IBM-852",    "CP852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   829
        fIANA2JavaMap.put("IBM-855",    "CP855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   830
        fIANA2JavaMap.put("IBM-857",    "CP857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   831
        fIANA2JavaMap.put("IBM-858",    "CP858");
7f561c08de6b Initial load
duke
parents:
diff changeset
   832
        fIANA2JavaMap.put("IBM-860",    "CP860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   833
        fIANA2JavaMap.put("IBM-861",    "CP861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   834
        fIANA2JavaMap.put("IBM-862",    "CP862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   835
        fIANA2JavaMap.put("IBM-863",    "CP863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   836
        fIANA2JavaMap.put("IBM-864",    "CP864");
7f561c08de6b Initial load
duke
parents:
diff changeset
   837
        fIANA2JavaMap.put("IBM-865",    "CP865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   838
        fIANA2JavaMap.put("IBM-866",    "CP866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   839
        fIANA2JavaMap.put("IBM-868",    "CP868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   840
        fIANA2JavaMap.put("IBM-869",    "CP869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   841
        fIANA2JavaMap.put("IBM-870",    "CP870");
7f561c08de6b Initial load
duke
parents:
diff changeset
   842
        fIANA2JavaMap.put("IBM-871",    "CP871");
7f561c08de6b Initial load
duke
parents:
diff changeset
   843
        fIANA2JavaMap.put("IBM-918",    "CP918");
7f561c08de6b Initial load
duke
parents:
diff changeset
   844
        fIANA2JavaMap.put("IBM-924",    "CP924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   845
        fIANA2JavaMap.put("IBM-1026",    "CP1026");
7f561c08de6b Initial load
duke
parents:
diff changeset
   846
        fIANA2JavaMap.put("IBM-1140",    "Cp1140");
7f561c08de6b Initial load
duke
parents:
diff changeset
   847
        fIANA2JavaMap.put("IBM-1141",    "Cp1141");
7f561c08de6b Initial load
duke
parents:
diff changeset
   848
        fIANA2JavaMap.put("IBM-1142",    "Cp1142");
7f561c08de6b Initial load
duke
parents:
diff changeset
   849
        fIANA2JavaMap.put("IBM-1143",    "Cp1143");
7f561c08de6b Initial load
duke
parents:
diff changeset
   850
        fIANA2JavaMap.put("IBM-1144",    "Cp1144");
7f561c08de6b Initial load
duke
parents:
diff changeset
   851
        fIANA2JavaMap.put("IBM-1145",    "Cp1145");
7f561c08de6b Initial load
duke
parents:
diff changeset
   852
        fIANA2JavaMap.put("IBM-1146",    "Cp1146");
7f561c08de6b Initial load
duke
parents:
diff changeset
   853
        fIANA2JavaMap.put("IBM-1147",    "Cp1147");
7f561c08de6b Initial load
duke
parents:
diff changeset
   854
        fIANA2JavaMap.put("IBM-1148",    "Cp1148");
7f561c08de6b Initial load
duke
parents:
diff changeset
   855
        fIANA2JavaMap.put("IBM-1149",    "Cp1149");
7f561c08de6b Initial load
duke
parents:
diff changeset
   856
        fIANA2JavaMap.put("IBM-819",      "ISO8859_1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   857
        fIANA2JavaMap.put("IBM-367",        "ASCII");
7f561c08de6b Initial load
duke
parents:
diff changeset
   858
7f561c08de6b Initial load
duke
parents:
diff changeset
   859
        // REVISIT:
7f561c08de6b Initial load
duke
parents:
diff changeset
   860
        //   j:CNS11643 -> EUC-TW?
7f561c08de6b Initial load
duke
parents:
diff changeset
   861
        //   ISO-2022-CN? ISO-2022-CN-EXT?
7f561c08de6b Initial load
duke
parents:
diff changeset
   862
7f561c08de6b Initial load
duke
parents:
diff changeset
   863
        // add Java to IANA encoding mappings
7f561c08de6b Initial load
duke
parents:
diff changeset
   864
        //fJava2IANAMap.put("8859_1",    "US-ASCII"); // ?
7f561c08de6b Initial load
duke
parents:
diff changeset
   865
        fJava2IANAMap.put("ISO8859_1",    "ISO-8859-1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   866
        fJava2IANAMap.put("ISO8859_2",    "ISO-8859-2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   867
        fJava2IANAMap.put("ISO8859_3",    "ISO-8859-3");
7f561c08de6b Initial load
duke
parents:
diff changeset
   868
        fJava2IANAMap.put("ISO8859_4",    "ISO-8859-4");
7f561c08de6b Initial load
duke
parents:
diff changeset
   869
        fJava2IANAMap.put("ISO8859_5",    "ISO-8859-5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   870
        fJava2IANAMap.put("ISO8859_6",    "ISO-8859-6");
7f561c08de6b Initial load
duke
parents:
diff changeset
   871
        fJava2IANAMap.put("ISO8859_7",    "ISO-8859-7");
7f561c08de6b Initial load
duke
parents:
diff changeset
   872
        fJava2IANAMap.put("ISO8859_8",    "ISO-8859-8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   873
        fJava2IANAMap.put("ISO8859_9",    "ISO-8859-9");
7f561c08de6b Initial load
duke
parents:
diff changeset
   874
        fJava2IANAMap.put("ISO8859_13",    "ISO-8859-13");
7f561c08de6b Initial load
duke
parents:
diff changeset
   875
        fJava2IANAMap.put("ISO8859_15",    "ISO-8859-15");
7f561c08de6b Initial load
duke
parents:
diff changeset
   876
        fJava2IANAMap.put("ISO8859_15_FDIS",    "ISO-8859-15");
7f561c08de6b Initial load
duke
parents:
diff changeset
   877
        fJava2IANAMap.put("Big5",      "BIG5");
7f561c08de6b Initial load
duke
parents:
diff changeset
   878
        fJava2IANAMap.put("CP037",     "EBCDIC-CP-US");
7f561c08de6b Initial load
duke
parents:
diff changeset
   879
        fJava2IANAMap.put("CP273",     "IBM273");
7f561c08de6b Initial load
duke
parents:
diff changeset
   880
        fJava2IANAMap.put("CP277",     "EBCDIC-CP-DK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   881
        fJava2IANAMap.put("CP278",     "EBCDIC-CP-FI");
7f561c08de6b Initial load
duke
parents:
diff changeset
   882
        fJava2IANAMap.put("CP280",     "EBCDIC-CP-IT");
7f561c08de6b Initial load
duke
parents:
diff changeset
   883
        fJava2IANAMap.put("CP284",     "EBCDIC-CP-ES");
7f561c08de6b Initial load
duke
parents:
diff changeset
   884
        fJava2IANAMap.put("CP285",     "EBCDIC-CP-GB");
7f561c08de6b Initial load
duke
parents:
diff changeset
   885
        fJava2IANAMap.put("CP290",     "EBCDIC-JP-KANA");
7f561c08de6b Initial load
duke
parents:
diff changeset
   886
        fJava2IANAMap.put("CP297",     "EBCDIC-CP-FR");
7f561c08de6b Initial load
duke
parents:
diff changeset
   887
        fJava2IANAMap.put("CP420",     "EBCDIC-CP-AR1");
7f561c08de6b Initial load
duke
parents:
diff changeset
   888
        fJava2IANAMap.put("CP424",     "EBCDIC-CP-HE");
7f561c08de6b Initial load
duke
parents:
diff changeset
   889
        fJava2IANAMap.put("CP437",     "IBM437");
7f561c08de6b Initial load
duke
parents:
diff changeset
   890
        fJava2IANAMap.put("CP500",     "EBCDIC-CP-CH");
7f561c08de6b Initial load
duke
parents:
diff changeset
   891
        fJava2IANAMap.put("CP775",     "IBM775");
7f561c08de6b Initial load
duke
parents:
diff changeset
   892
        fJava2IANAMap.put("CP850",     "IBM850");
7f561c08de6b Initial load
duke
parents:
diff changeset
   893
        fJava2IANAMap.put("CP852",     "IBM852");
7f561c08de6b Initial load
duke
parents:
diff changeset
   894
        fJava2IANAMap.put("CP855",     "IBM855");
7f561c08de6b Initial load
duke
parents:
diff changeset
   895
        fJava2IANAMap.put("CP857",     "IBM857");
7f561c08de6b Initial load
duke
parents:
diff changeset
   896
        fJava2IANAMap.put("CP858",     "IBM00858");
7f561c08de6b Initial load
duke
parents:
diff changeset
   897
        fJava2IANAMap.put("CP860",     "IBM860");
7f561c08de6b Initial load
duke
parents:
diff changeset
   898
        fJava2IANAMap.put("CP861",     "IBM861");
7f561c08de6b Initial load
duke
parents:
diff changeset
   899
        fJava2IANAMap.put("CP862",     "IBM862");
7f561c08de6b Initial load
duke
parents:
diff changeset
   900
        fJava2IANAMap.put("CP863",     "IBM863");
7f561c08de6b Initial load
duke
parents:
diff changeset
   901
        fJava2IANAMap.put("CP864",     "IBM864");
7f561c08de6b Initial load
duke
parents:
diff changeset
   902
        fJava2IANAMap.put("CP865",     "IBM865");
7f561c08de6b Initial load
duke
parents:
diff changeset
   903
        fJava2IANAMap.put("CP866",     "IBM866");
7f561c08de6b Initial load
duke
parents:
diff changeset
   904
        fJava2IANAMap.put("CP868",     "IBM868");
7f561c08de6b Initial load
duke
parents:
diff changeset
   905
        fJava2IANAMap.put("CP869",     "IBM869");
7f561c08de6b Initial load
duke
parents:
diff changeset
   906
        fJava2IANAMap.put("CP870",     "EBCDIC-CP-ROECE");
7f561c08de6b Initial load
duke
parents:
diff changeset
   907
        fJava2IANAMap.put("CP871",     "EBCDIC-CP-IS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   908
        fJava2IANAMap.put("CP918",     "EBCDIC-CP-AR2");
7f561c08de6b Initial load
duke
parents:
diff changeset
   909
        fJava2IANAMap.put("CP924",     "IBM00924");
7f561c08de6b Initial load
duke
parents:
diff changeset
   910
        fJava2IANAMap.put("CP1026",     "IBM1026");
23094
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   911
        fJava2IANAMap.put("CP1140",     "IBM01140");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   912
        fJava2IANAMap.put("CP1141",     "IBM01141");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   913
        fJava2IANAMap.put("CP1142",     "IBM01142");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   914
        fJava2IANAMap.put("CP1143",     "IBM01143");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   915
        fJava2IANAMap.put("CP1144",     "IBM01144");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   916
        fJava2IANAMap.put("CP1145",     "IBM01145");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   917
        fJava2IANAMap.put("CP1146",     "IBM01146");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   918
        fJava2IANAMap.put("CP1147",     "IBM01147");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   919
        fJava2IANAMap.put("CP1148",     "IBM01148");
681fdd03de81 8035469: Xerces Update: EncodingMap does not recognize Java-style encodings Cp1141-Cp1149
joehw
parents: 12457
diff changeset
   920
        fJava2IANAMap.put("CP1149",     "IBM01149");
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   921
        fJava2IANAMap.put("EUCJIS",    "EUC-JP");
7f561c08de6b Initial load
duke
parents:
diff changeset
   922
        fJava2IANAMap.put("KS_C_5601-1987",          "KS_C_5601-1987");
7f561c08de6b Initial load
duke
parents:
diff changeset
   923
        fJava2IANAMap.put("GB2312",    "GB2312");
7f561c08de6b Initial load
duke
parents:
diff changeset
   924
        fJava2IANAMap.put("ISO2022KR", "ISO-2022-KR");
7f561c08de6b Initial load
duke
parents:
diff changeset
   925
        fJava2IANAMap.put("ISO2022CN", "ISO-2022-CN");
7f561c08de6b Initial load
duke
parents:
diff changeset
   926
        fJava2IANAMap.put("JIS",       "ISO-2022-JP");
7f561c08de6b Initial load
duke
parents:
diff changeset
   927
        fJava2IANAMap.put("KOI8_R",    "KOI8-R");
7f561c08de6b Initial load
duke
parents:
diff changeset
   928
        fJava2IANAMap.put("KSC5601",   "EUC-KR");
7f561c08de6b Initial load
duke
parents:
diff changeset
   929
        fJava2IANAMap.put("GB18030",      "GB18030");
7f561c08de6b Initial load
duke
parents:
diff changeset
   930
        fJava2IANAMap.put("GBK",       "GBK");
7f561c08de6b Initial load
duke
parents:
diff changeset
   931
        fJava2IANAMap.put("SJIS",      "SHIFT_JIS");
7f561c08de6b Initial load
duke
parents:
diff changeset
   932
        fJava2IANAMap.put("MS932",      "WINDOWS-31J");
7f561c08de6b Initial load
duke
parents:
diff changeset
   933
        fJava2IANAMap.put("UTF8",      "UTF-8");
7f561c08de6b Initial load
duke
parents:
diff changeset
   934
        fJava2IANAMap.put("Unicode",   "UTF-16");
7f561c08de6b Initial load
duke
parents:
diff changeset
   935
        fJava2IANAMap.put("UnicodeBig",   "UTF-16BE");
7f561c08de6b Initial load
duke
parents:
diff changeset
   936
        fJava2IANAMap.put("UnicodeLittle",   "UTF-16LE");
7f561c08de6b Initial load
duke
parents:
diff changeset
   937
        fJava2IANAMap.put("JIS0201",  "X0201");
7f561c08de6b Initial load
duke
parents:
diff changeset
   938
        fJava2IANAMap.put("JIS0208",  "X0208");
7f561c08de6b Initial load
duke
parents:
diff changeset
   939
        fJava2IANAMap.put("JIS0212",  "ISO-IR-159");
7f561c08de6b Initial load
duke
parents:
diff changeset
   940
7f561c08de6b Initial load
duke
parents:
diff changeset
   941
        // proposed addition (see above for details):
7f561c08de6b Initial load
duke
parents:
diff changeset
   942
        fJava2IANAMap.put("CP1047",    "IBM1047");
7f561c08de6b Initial load
duke
parents:
diff changeset
   943
7f561c08de6b Initial load
duke
parents:
diff changeset
   944
    } // <clinit>()
7f561c08de6b Initial load
duke
parents:
diff changeset
   945
7f561c08de6b Initial load
duke
parents:
diff changeset
   946
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   947
    // Constructors
7f561c08de6b Initial load
duke
parents:
diff changeset
   948
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   949
7f561c08de6b Initial load
duke
parents:
diff changeset
   950
    /** Default constructor. */
7f561c08de6b Initial load
duke
parents:
diff changeset
   951
    public EncodingMap() {}
7f561c08de6b Initial load
duke
parents:
diff changeset
   952
7f561c08de6b Initial load
duke
parents:
diff changeset
   953
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   954
    // Public static methods
7f561c08de6b Initial load
duke
parents:
diff changeset
   955
    //
7f561c08de6b Initial load
duke
parents:
diff changeset
   956
7f561c08de6b Initial load
duke
parents:
diff changeset
   957
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   958
     * Adds an IANA to Java encoding name mapping.
7f561c08de6b Initial load
duke
parents:
diff changeset
   959
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   960
     * @param ianaEncoding The IANA encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   961
     * @param javaEncoding The Java encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   962
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   963
     * @deprecated Use of this method is not recommended. Its
7f561c08de6b Initial load
duke
parents:
diff changeset
   964
     * effect is JVM wide and may cause unforeseen behaviour
7f561c08de6b Initial load
duke
parents:
diff changeset
   965
     * for other applications running in the system.
7f561c08de6b Initial load
duke
parents:
diff changeset
   966
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   967
    public static void putIANA2JavaMapping(String ianaEncoding,
7f561c08de6b Initial load
duke
parents:
diff changeset
   968
                                           String javaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
   969
        fIANA2JavaMap.put(ianaEncoding, javaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
   970
    } // putIANA2JavaMapping(String,String)
7f561c08de6b Initial load
duke
parents:
diff changeset
   971
7f561c08de6b Initial load
duke
parents:
diff changeset
   972
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   973
     * Returns the Java encoding name for the specified IANA encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   974
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   975
     * @param ianaEncoding The IANA encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   976
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   977
    public static String getIANA2JavaMapping(String ianaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
   978
        return (String)fIANA2JavaMap.get(ianaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
   979
    } // getIANA2JavaMapping(String):String
7f561c08de6b Initial load
duke
parents:
diff changeset
   980
7f561c08de6b Initial load
duke
parents:
diff changeset
   981
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   982
     * Removes an IANA to Java encoding name mapping.
7f561c08de6b Initial load
duke
parents:
diff changeset
   983
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   984
     * @param ianaEncoding The IANA encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   985
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   986
     * @deprecated Use of this method is not recommended. Its
7f561c08de6b Initial load
duke
parents:
diff changeset
   987
     * effect is JVM wide and may cause unforeseen behaviour
7f561c08de6b Initial load
duke
parents:
diff changeset
   988
     * for other applications running in the system.
7f561c08de6b Initial load
duke
parents:
diff changeset
   989
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   990
    public static String removeIANA2JavaMapping(String ianaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
   991
        return (String)fIANA2JavaMap.remove(ianaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
   992
    } // removeIANA2JavaMapping(String):String
7f561c08de6b Initial load
duke
parents:
diff changeset
   993
7f561c08de6b Initial load
duke
parents:
diff changeset
   994
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   995
     * Adds a Java to IANA encoding name mapping.
7f561c08de6b Initial load
duke
parents:
diff changeset
   996
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   997
     * @param javaEncoding The Java encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   998
     * @param ianaEncoding The IANA encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
   999
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
  1000
     * @deprecated Use of this method is not recommended. Its
7f561c08de6b Initial load
duke
parents:
diff changeset
  1001
     * effect is JVM wide and may cause unforeseen behaviour
7f561c08de6b Initial load
duke
parents:
diff changeset
  1002
     * for other applications running in the system.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1003
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
  1004
    public static void putJava2IANAMapping(String javaEncoding,
7f561c08de6b Initial load
duke
parents:
diff changeset
  1005
                                           String ianaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
  1006
        fJava2IANAMap.put(javaEncoding, ianaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
  1007
    } // putJava2IANAMapping(String,String)
7f561c08de6b Initial load
duke
parents:
diff changeset
  1008
7f561c08de6b Initial load
duke
parents:
diff changeset
  1009
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
  1010
     * Returns the IANA encoding name for the specified Java encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1011
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
  1012
     * @param javaEncoding The Java encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1013
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
  1014
    public static String getJava2IANAMapping(String javaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
  1015
        return (String)fJava2IANAMap.get(javaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
  1016
    } // getJava2IANAMapping(String):String
7f561c08de6b Initial load
duke
parents:
diff changeset
  1017
7f561c08de6b Initial load
duke
parents:
diff changeset
  1018
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
  1019
     * Removes a Java to IANA encoding name mapping.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1020
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
  1021
     * @param javaEncoding The Java encoding name.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1022
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
  1023
     * @deprecated Use of this method is not recommended. Its
7f561c08de6b Initial load
duke
parents:
diff changeset
  1024
     * effect is JVM wide and may cause unforeseen behaviour
7f561c08de6b Initial load
duke
parents:
diff changeset
  1025
     * for other applications running in the system.
7f561c08de6b Initial load
duke
parents:
diff changeset
  1026
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
  1027
    public static String removeJava2IANAMapping(String javaEncoding) {
7f561c08de6b Initial load
duke
parents:
diff changeset
  1028
        return (String)fJava2IANAMap.remove(javaEncoding);
7f561c08de6b Initial load
duke
parents:
diff changeset
  1029
    } // removeJava2IANAMapping
7f561c08de6b Initial load
duke
parents:
diff changeset
  1030
7f561c08de6b Initial load
duke
parents:
diff changeset
  1031
} // class EncodingMap