Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1463 alexandre_ 1
<?php
2
// +----------------------------------------------------------------------+
3
// | PEAR :: I18Nv2 :: Encoding                                           |
4
// +----------------------------------------------------------------------+
5
// | This source file is subject to version 3.0 of the PHP license,       |
6
// | that is available at http://www.php.net/license/3_0.txt              |
7
// | If you did not receive a copy of the PHP license and are unable      |
8
// | to obtain it through the world-wide-web, please send a note to       |
9
// | license@php.net so we can mail you a copy immediately.               |
10
// +----------------------------------------------------------------------+
11
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at>                  |
12
// +----------------------------------------------------------------------+
13
//
14
// $Id: Encoding.php,v 1.1 2007-06-25 09:55:28 alexandre_tb Exp $
15
 
16
/**
17
 * I18Nv2::Encoding
18
 *
19
 * @package     I18Nv2
20
 * @category    Internationalization
21
 */
22
 
23
/**
24
 * I18Nv2_Encoding
25
 *
26
 * List of common and not so common character sets and their aliases.
27
 *
28
 * @author      Michael Wallner <mike@php.net>
29
 * @version     $Revision: 1.1 $
30
 * @package     I18Nv2
31
 * @access      public
32
 * @static
33
 */
34
class I18Nv2_Encoding
35
{
36
    /**
37
     * Standardize
38
     *
39
     * @static
40
     * @access  public
41
     * @return  string
42
     * @param   string  $encoding
43
     */
44
    function standardize($encoding)
45
    {
46
        return strToUpper(preg_replace('/[^[:alnum:]-]/', '-', $encoding));
47
    }
48
 
49
    /**
50
     * Is Encoding
51
     *
52
     * @static
53
     * @access  public
54
     * @return  bool
55
     * @param   string  $encoding
56
     */
57
    function isEncoding($encoding)
58
    {
59
        $name = I18Nv3_Encoding::standardize($encoding);
60
        return isset($GLOBALS['_I18Nv2_Encoding_Names'][$name]);
61
    }
62
 
63
    /**
64
     * Is Alias
65
     *
66
     * @static
67
     * @access  public
68
     * @return  bool
69
     * @param   string  $encoding
70
     */
71
    function isAlias($encoding)
72
    {
73
        return (bool) I18Nv2_Encoding::forAlias($encoding);
74
    }
75
 
76
    /**
77
     * Exists
78
     *
79
     * @static
80
     * @access  public
81
     * @return  bool
82
     * @param   string  $encoding
83
     */
84
    function exists($encoding)
85
    {
86
        $name = I18Nv2_Encoding::standardize($encoding);
87
        return isset($GLOBALS['_I18Nv2_Encoding_Names'][$name]) or
88
            I18Nv2_Encoding::forAlias($name) !== false;
89
    }
90
 
91
    /**
92
     * Name Of
93
     *
94
     * @static
95
     * @access  public
96
     * @return  string|false
97
     * @param   string      $encoding
98
     */
99
    function nameOf($encoding)
100
    {
101
        $encoding = I18Nv2_Encoding::standardize($encoding);
102
        if (isset($GLOBALS['_I18Nv2_Encoding_Names'][$encoding])) {
103
            return $GLOBALS['_I18Nv2_Encoding_Names'][$encoding];
104
        }
105
        return I18Nv2_Encoding::forAlias($encoding);
106
    }
107
 
108
    /**
109
     * Aliases Of
110
     *
111
     * @static
112
     * @access  public
113
     * @return  array
114
     * @param   string  $encoding
115
     */
116
    function aliasesOf($encoding)
117
    {
118
        $name = I18Nv2_Encoding::standardize($encoding);
119
        if (isset($GLOBALS['_I18Nv2_Encoding_Aliases'][$name])) {
120
            return $GLOBALS['_I18Nv2_Encoding_Aliases'][$name];
121
        }
122
        return array();
123
    }
124
 
125
    /**
126
     * For Alias
127
     *
128
     * @static
129
     * @access  public
130
     * @return  string|false
131
     * @param   string  $alias
132
     */
133
    function forAlias($alias)
134
    {
135
        $name = I18Nv2_Encoding::standardize($alias);
136
        foreach (array_keys($GLOBALS['_I18Nv2_Encoding_Aliases']) as $a) {
137
            if (in_array($name, $GLOBALS['_I18Nv2_Encoding_Aliases'][$a])) {
138
                return $GLOBALS['_I18Nv2_Encoding_Names'][$a];
139
            }
140
        }
141
        return false;
142
    }
143
 
144
}
145
 
146
$GLOBALS['_I18Nv2_Encoding_Names']  = array(
147
    'US-ASCII'                                      => 'US-ASCII',
148
    'ISO-10646-UTF-1'                               => 'ISO-10646-UTF-1',
149
    'ISO-646-BASIC'                                 => 'ISO_646.basic',
150
    'INVARIANT'                                     => 'INVARIANT',
151
    'ISO-646-IRV'                                   => 'ISO_646.irv',
152
    'BS-4730'                                       => 'BS_4730',
153
    'NATS-SEFI'                                     => 'NATS-SEFI',
154
    'NATS-SEFI-ADD'                                 => 'NATS-SEFI-ADD',
155
    'NATS-DANO'                                     => 'NATS-DANO',
156
    'NATS-DANO-ADD'                                 => 'NATS-DANO-ADD',
157
    'SEN-850200-B'                                  => 'SEN_850200_B',
158
    'SEN-850200-C'                                  => 'SEN_850200_C',
159
    'KS-C-5601-1987'                                => 'KS_C_5601-1987',
160
    'ISO-2022-KR'                                   => 'ISO-2022-KR',
161
    'EUC-KR'                                        => 'EUC-KR',
162
    'ISO-2022-JP'                                   => 'ISO-2022-JP',
163
    'ISO-2022-JP-2'                                 => 'ISO-2022-JP-2',
164
    'ISO-2022-CN'                                   => 'ISO-2022-CN',
165
    'ISO-2022-CN-EXT'                               => 'ISO-2022-CN-EXT',
166
    'JIS-C6220-1969-JP'                             => 'JIS_C6220-1969-jp',
167
    'JIS-C6220-1969-RO'                             => 'JIS_C6220-1969-ro',
168
    'IT'                                            => 'IT',
169
    'PT'                                            => 'PT',
170
    'ES'                                            => 'ES',
171
    'GREEK7-OLD'                                    => 'greek7-old',
172
    'LATIN-GREEK'                                   => 'latin-greek',
173
    'DIN-66003'                                     => 'DIN_66003',
174
    'NF-Z-62-010-'                                  => 'NF_Z_62-010_',
175
    'LATIN-GREEK-1'                                 => 'Latin-greek-1',
176
    'ISO-5427'                                      => 'ISO_5427',
177
    'JIS-C6226-1978'                                => 'JIS_C6226-1978',
178
    'BS-VIEWDATA'                                   => 'BS_viewdata',
179
    'INIS'                                          => 'INIS',
180
    'INIS-8'                                        => 'INIS-8',
181
    'INIS-CYRILLIC'                                 => 'INIS-cyrillic',
182
    'ISO-5428'                                      => 'ISO_5428',
183
    'GB-1988-80'                                    => 'GB_1988-80',
184
    'GB-2312-80'                                    => 'GB_2312-80',
185
    'NS-4551-1'                                     => 'NS_4551-1',
186
    'NS-4551-2'                                     => 'NS_4551-2',
187
    'NF-Z-62-010'                                   => 'NF_Z_62-010',
188
    'VIDEOTEX-SUPPL'                                => 'videotex-suppl',
189
    'PT2'                                           => 'PT2',
190
    'ES2'                                           => 'ES2',
191
    'MSZ-7795-3'                                    => 'MSZ_7795.3',
192
    'JIS-C6226-1983'                                => 'JIS_C6226-1983',
193
    'GREEK7'                                        => 'greek7',
194
    'ASMO-449'                                      => 'ASMO_449',
195
    'ISO-IR-90'                                     => 'iso-ir-90',
196
    'JIS-C6229-1984-A'                              => 'JIS_C6229-1984-a',
197
    'JIS-C6229-1984-B'                              => 'JIS_C6229-1984-b',
198
    'JIS-C6229-1984-B-ADD'                          => 'JIS_C6229-1984-b-add',
199
    'JIS-C6229-1984-HAND'                           => 'JIS_C6229-1984-hand',
200
    'JIS-C6229-1984-HAND-ADD'                       => 'JIS_C6229-1984-hand-add',
201
    'JIS-C6229-1984-KANA'                           => 'JIS_C6229-1984-kana',
202
    'ISO-2033-1983'                                 => 'ISO_2033-1983',
203
    'ANSI-X3-110-1983'                              => 'ANSI_X3.110-1983',
204
    'ISO-8859-1'                                    => 'ISO-8859-1',
205
    'ISO-8859-2'                                    => 'ISO-8859-2',
206
    'T-61-7BIT'                                     => 'T.61-7bit',
207
    'T-61-8BIT'                                     => 'T.61-8bit',
208
    'ISO-8859-3'                                    => 'ISO-8859-3',
209
    'ISO-8859-4'                                    => 'ISO-8859-4',
210
    'ECMA-CYRILLIC'                                 => 'ECMA-cyrillic',
211
    'CSA-Z243-4-1985-1'                             => 'CSA_Z243.4-1985-1',
212
    'CSA-Z243-4-1985-2'                             => 'CSA_Z243.4-1985-2',
213
    'CSA-Z243-4-1985-GR'                            => 'CSA_Z243.4-1985-gr',
214
    'ISO-8859-6'                                    => 'ISO-8859-6',
215
    'ISO-8859-6-E'                                  => 'ISO-8859-6-E',
216
    'ISO-8859-6-I'                                  => 'ISO-8859-6-I',
217
    'ISO-8859-7'                                    => 'ISO-8859-7',
218
    'T-101-G2'                                      => 'T.101-G2',
219
    'ISO-8859-8'                                    => 'ISO-8859-8',
220
    'ISO-8859-8-E'                                  => 'ISO-8859-8-E',
221
    'ISO-8859-8-I'                                  => 'ISO-8859-8-I',
222
    'CSN-369103'                                    => 'CSN_369103',
223
    'JUS-I-B1-002'                                  => 'JUS_I.B1.002',
224
    'ISO-6937-2-ADD'                                => 'ISO_6937-2-add',
225
    'IEC-P27-1'                                     => 'IEC_P27-1',
226
    'ISO-8859-5'                                    => 'ISO-8859-5',
227
    'JUS-I-B1-003-SERB'                             => 'JUS_I.B1.003-serb',
228
    'JUS-I-B1-003-MAC'                              => 'JUS_I.B1.003-mac',
229
    'ISO-8859-9'                                    => 'ISO-8859-9',
230
    'GREEK-CCITT'                                   => 'greek-ccitt',
231
    'NC-NC00-10'                                    => 'NC_NC00-10',
232
    'ISO-6937-2-25'                                 => 'ISO_6937-2-25',
233
    'GOST-19768-74'                                 => 'GOST_19768-74',
234
    'ISO-8859-SUPP'                                 => 'ISO_8859-supp',
235
    'ISO-10367-BOX'                                 => 'ISO_10367-box',
236
    'ISO-8859-10'                                   => 'ISO-8859-10',
237
    'LATIN-LAP'                                     => 'latin-lap',
238
    'JIS-X0212-1990'                                => 'JIS_X0212-1990',
239
    'DS-2089'                                       => 'DS_2089',
240
    'US-DK'                                         => 'us-dk',
241
    'DK-US'                                         => 'dk-us',
242
    'JIS-X0201'                                     => 'JIS_X0201',
243
    'KSC5636'                                       => 'KSC5636',
244
    'ISO-10646-UCS-2'                               => 'ISO-10646-UCS-2',
245
    'ISO-10646-UCS-4'                               => 'ISO-10646-UCS-4',
246
    'DEC-MCS'                                       => 'DEC-MCS',
247
    'HP-ROMAN8'                                     => 'hp-roman8',
248
    'MACINTOSH'                                     => 'macintosh',
249
    'IBM037'                                        => 'IBM037',
250
    'IBM038'                                        => 'IBM038',
251
    'IBM273'                                        => 'IBM273',
252
    'IBM274'                                        => 'IBM274',
253
    'IBM275'                                        => 'IBM275',
254
    'IBM277'                                        => 'IBM277',
255
    'IBM278'                                        => 'IBM278',
256
    'IBM280'                                        => 'IBM280',
257
    'IBM281'                                        => 'IBM281',
258
    'IBM284'                                        => 'IBM284',
259
    'IBM285'                                        => 'IBM285',
260
    'IBM290'                                        => 'IBM290',
261
    'IBM297'                                        => 'IBM297',
262
    'IBM420'                                        => 'IBM420',
263
    'IBM423'                                        => 'IBM423',
264
    'IBM424'                                        => 'IBM424',
265
    'IBM437'                                        => 'IBM437',
266
    'IBM500'                                        => 'IBM500',
267
    'IBM775'                                        => 'IBM775',
268
    'IBM850'                                        => 'IBM850',
269
    'IBM851'                                        => 'IBM851',
270
    'IBM852'                                        => 'IBM852',
271
    'IBM855'                                        => 'IBM855',
272
    'IBM857'                                        => 'IBM857',
273
    'IBM860'                                        => 'IBM860',
274
    'IBM861'                                        => 'IBM861',
275
    'IBM862'                                        => 'IBM862',
276
    'IBM863'                                        => 'IBM863',
277
    'IBM864'                                        => 'IBM864',
278
    'IBM865'                                        => 'IBM865',
279
    'IBM866'                                        => 'IBM866',
280
    'IBM868'                                        => 'IBM868',
281
    'IBM869'                                        => 'IBM869',
282
    'IBM870'                                        => 'IBM870',
283
    'IBM871'                                        => 'IBM871',
284
    'IBM880'                                        => 'IBM880',
285
    'IBM891'                                        => 'IBM891',
286
    'IBM903'                                        => 'IBM903',
287
    'IBM904'                                        => 'IBM904',
288
    'IBM905'                                        => 'IBM905',
289
    'IBM918'                                        => 'IBM918',
290
    'IBM1026'                                       => 'IBM1026',
291
    'EBCDIC-AT-DE'                                  => 'EBCDIC-AT-DE',
292
    'EBCDIC-AT-DE-A'                                => 'EBCDIC-AT-DE-A',
293
    'EBCDIC-CA-FR'                                  => 'EBCDIC-CA-FR',
294
    'EBCDIC-DK-NO'                                  => 'EBCDIC-DK-NO',
295
    'EBCDIC-DK-NO-A'                                => 'EBCDIC-DK-NO-A',
296
    'EBCDIC-FI-SE'                                  => 'EBCDIC-FI-SE',
297
    'EBCDIC-FI-SE-A'                                => 'EBCDIC-FI-SE-A',
298
    'EBCDIC-FR'                                     => 'EBCDIC-FR',
299
    'EBCDIC-IT'                                     => 'EBCDIC-IT',
300
    'EBCDIC-PT'                                     => 'EBCDIC-PT',
301
    'EBCDIC-ES'                                     => 'EBCDIC-ES',
302
    'EBCDIC-ES-A'                                   => 'EBCDIC-ES-A',
303
    'EBCDIC-ES-S'                                   => 'EBCDIC-ES-S',
304
    'EBCDIC-UK'                                     => 'EBCDIC-UK',
305
    'EBCDIC-US'                                     => 'EBCDIC-US',
306
    'UNKNOWN-8BIT'                                  => 'UNKNOWN-8BIT',
307
    'MNEMONIC'                                      => 'MNEMONIC',
308
    'MNEM'                                          => 'MNEM',
309
    'VISCII'                                        => 'VISCII',
310
    'VIQR'                                          => 'VIQR',
311
    'KOI8-R'                                        => 'KOI8-R',
312
    'KOI8-U'                                        => 'KOI8-U',
313
    'IBM00858'                                      => 'IBM00858',
314
    'IBM00924'                                      => 'IBM00924',
315
    'IBM01140'                                      => 'IBM01140',
316
    'IBM01141'                                      => 'IBM01141',
317
    'IBM01142'                                      => 'IBM01142',
318
    'IBM01143'                                      => 'IBM01143',
319
    'IBM01144'                                      => 'IBM01144',
320
    'IBM01145'                                      => 'IBM01145',
321
    'IBM01146'                                      => 'IBM01146',
322
    'IBM01147'                                      => 'IBM01147',
323
    'IBM01148'                                      => 'IBM01148',
324
    'IBM01149'                                      => 'IBM01149',
325
    'BIG5-HKSCS'                                    => 'Big5-HKSCS',
326
    'IBM1047'                                       => 'IBM1047',
327
    'PTCP154'                                       => 'PTCP154',
328
    'AMIGA-1251'                                    => 'Amiga-1251',
329
    'UNICODE-1-1'                                   => 'UNICODE-1-1',
330
    'SCSU'                                          => 'SCSU',
331
    'UTF-7'                                         => 'UTF-7',
332
    'UTF-16BE'                                      => 'UTF-16BE',
333
    'UTF-16LE'                                      => 'UTF-16LE',
334
    'UTF-16'                                        => 'UTF-16',
335
    'CESU-8'                                        => 'CESU-8',
336
    'UTF-32'                                        => 'UTF-32',
337
    'UTF-32BE'                                      => 'UTF-32BE',
338
    'UTF-32LE'                                      => 'UTF-32LE',
339
    'BOCU-1'                                        => 'BOCU-1',
340
    'UNICODE-1-1-UTF-7'                             => 'UNICODE-1-1-UTF-7',
341
    'UTF-8'                                         => 'UTF-8',
342
    'ISO-8859-13'                                   => 'ISO-8859-13',
343
    'ISO-8859-14'                                   => 'ISO-8859-14',
344
    'ISO-8859-15'                                   => 'ISO-8859-15',
345
    'ISO-8859-16'                                   => 'ISO-8859-16',
346
    'GBK'                                           => 'GBK',
347
    'GB18030'                                       => 'GB18030',
348
    'OSD-EBCDIC-DF04-15'                            => 'OSD_EBCDIC_DF04_15',
349
    'OSD-EBCDIC-DF03-IRV'                           => 'OSD_EBCDIC_DF03_IRV',
350
    'OSD-EBCDIC-DF04-1'                             => 'OSD_EBCDIC_DF04_1',
351
    'JIS-ENCODING'                                  => 'JIS_Encoding',
352
    'SHIFT-JIS'                                     => 'Shift_JIS',
353
    'EXTENDED-UNIX-CODE-PACKED-FORMAT-FOR-JAPANESE' => 'Extended_UNIX_Code_Packed_Format_for_Japanese',
354
    'EUC-JP'                                        => 'EUC-JP',
355
    'EXTENDED-UNIX-CODE-FIXED-WIDTH-FOR-JAPANESE'   => 'Extended_UNIX_Code_Fixed_Width_for_Japanese',
356
    'ISO-10646-UCS-BASIC'                           => 'ISO-10646-UCS-Basic',
357
    'ISO-10646-UNICODE-LATIN1'                      => 'ISO-10646-Unicode-Latin1',
358
    'ISO-10646-J-1'                                 => 'ISO-10646-J-1',
359
    'ISO-UNICODE-IBM-1261'                          => 'ISO-Unicode-IBM-1261',
360
    'ISO-UNICODE-IBM-1268'                          => 'ISO-Unicode-IBM-1268',
361
    'ISO-UNICODE-IBM-1276'                          => 'ISO-Unicode-IBM-1276',
362
    'ISO-UNICODE-IBM-1264'                          => 'ISO-Unicode-IBM-1264',
363
    'ISO-UNICODE-IBM-1265'                          => 'ISO-Unicode-IBM-1265',
364
    'ISO-8859-1-WINDOWS-3-0-LATIN-1'                => 'ISO-8859-1-Windows-3.0-Latin-1',
365
    'ISO-8859-1-WINDOWS-3-1-LATIN-1'                => 'ISO-8859-1-Windows-3.1-Latin-1',
366
    'ISO-8859-2-WINDOWS-LATIN-2'                    => 'ISO-8859-2-Windows-Latin-2',
367
    'ISO-8859-9-WINDOWS-LATIN-5'                    => 'ISO-8859-9-Windows-Latin-5',
368
    'ADOBE-STANDARD-ENCODING'                       => 'Adobe-Standard-Encoding',
369
    'VENTURA-US'                                    => 'Ventura-US',
370
    'VENTURA-INTERNATIONAL'                         => 'Ventura-International',
371
    'PC8-DANISH-NORWEGIAN'                          => 'PC8-Danish-Norwegian',
372
    'PC8-TURKISH'                                   => 'PC8-Turkish',
373
    'IBM-SYMBOLS'                                   => 'IBM-Symbols',
374
    'IBM-THAI'                                      => 'IBM-Thai',
375
    'HP-LEGAL'                                      => 'HP-Legal',
376
    'HP-PI-FONT'                                    => 'HP-Pi-font',
377
    'HP-MATH8'                                      => 'HP-Math8',
378
    'ADOBE-SYMBOL-ENCODING'                         => 'Adobe-Symbol-Encoding',
379
    'HP-DESKTOP'                                    => 'HP-DeskTop',
380
    'VENTURA-MATH'                                  => 'Ventura-Math',
381
    'MICROSOFT-PUBLISHING'                          => 'Microsoft-Publishing',
382
    'WINDOWS-31J'                                   => 'Windows-31J',
383
    'GB2312'                                        => 'GB2312',
384
    'BIG5'                                          => 'Big5',
385
    'WINDOWS-1250'                                  => 'windows-1250',
386
    'WINDOWS-1251'                                  => 'windows-1251',
387
    'WINDOWS-1252'                                  => 'windows-1252',
388
    'WINDOWS-1253'                                  => 'windows-1253',
389
    'WINDOWS-1254'                                  => 'windows-1254',
390
    'WINDOWS-1255'                                  => 'windows-1255',
391
    'WINDOWS-1256'                                  => 'windows-1256',
392
    'WINDOWS-1257'                                  => 'windows-1257',
393
    'WINDOWS-1258'                                  => 'windows-1258',
394
    'TIS-620'                                       => 'TIS-620',
395
    'HZ-GB-2312'                                    => 'HZ-GB-2312',
396
);
397
 
398
$GLOBALS['_I18Nv2_Encoding_Aliases'] = array(
399
    'US-ASCII' => array(
400
        'ISO-IR-6',
401
        'ANSI-X3-4-1986',
402
        'ISO-646-IRV',
403
        'ASCII',
404
        'ISO646-US',
405
        'ANSI-X3-4-1968',
406
        'US',
407
        'IBM367',
408
        'CP367',
409
        'CSASCII',
410
    ),
411
    'ISO-10646-UTF-1' => array(
412
        'CSISO10646UTF1',
413
    ),
414
    'ISO-646-BASIC' => array(
415
        'REF',
416
        'CSISO646BASIC1983',
417
    ),
418
    'INVARIANT' => array(
419
        'CSINVARIANT',
420
    ),
421
    'ISO-646-IRV' => array(
422
        'ISO-IR-2',
423
        'IRV',
424
        'CSISO2INTLREFVERSION',
425
    ),
426
    'BS-4730' => array(
427
        'ISO-IR-4',
428
        'ISO646-GB',
429
        'GB',
430
        'UK',
431
        'CSISO4UNITEDKINGDOM',
432
    ),
433
    'NATS-SEFI' => array(
434
        'ISO-IR-8-1',
435
        'CSNATSSEFI',
436
    ),
437
    'NATS-SEFI-ADD' => array(
438
        'ISO-IR-8-2',
439
        'CSNATSSEFIADD',
440
    ),
441
    'NATS-DANO' => array(
442
        'ISO-IR-9-1',
443
        'CSNATSDANO',
444
    ),
445
    'NATS-DANO-ADD' => array(
446
        'ISO-IR-9-2',
447
        'CSNATSDANOADD',
448
    ),
449
    'SEN-850200-B' => array(
450
        'ISO-IR-10',
451
        'FI',
452
        'ISO646-FI',
453
        'ISO646-SE',
454
        'SE',
455
        'CSISO10SWEDISH',
456
    ),
457
    'SEN-850200-C' => array(
458
        'ISO-IR-11',
459
        'ISO646-SE2',
460
        'SE2',
461
        'CSISO11SWEDISHFORNAMES',
462
    ),
463
    'KS-C-5601-1987' => array(
464
        'ISO-IR-149',
465
        'KS-C-5601-1989',
466
        'KSC-5601',
467
        'KOREAN',
468
        'CSKSC56011987',
469
    ),
470
    'ISO-2022-KR' => array(
471
        'CSISO2022KR',
472
    ),
473
    'EUC-KR' => array(
474
        'CSEUCKR',
475
    ),
476
    'ISO-2022-JP' => array(
477
        'CSISO2022JP',
478
    ),
479
    'ISO-2022-JP-2' => array(
480
        'CSISO2022JP2',
481
    ),
482
    'JIS-C6220-1969-JP' => array(
483
        'JIS-C6220-1969',
484
        'ISO-IR-13',
485
        'KATAKANA',
486
        'X0201-7',
487
        'CSISO13JISC6220JP',
488
    ),
489
    'JIS-C6220-1969-RO' => array(
490
        'ISO-IR-14',
491
        'JP',
492
        'ISO646-JP',
493
        'CSISO14JISC6220RO',
494
    ),
495
    'IT' => array(
496
        'ISO-IR-15',
497
        'ISO646-IT',
498
        'CSISO15ITALIAN',
499
    ),
500
    'PT' => array(
501
        'ISO-IR-16',
502
        'ISO646-PT',
503
        'CSISO16PORTUGUESE',
504
    ),
505
    'ES' => array(
506
        'ISO-IR-17',
507
        'ISO646-ES',
508
        'CSISO17SPANISH',
509
    ),
510
    'GREEK7-OLD' => array(
511
        'ISO-IR-18',
512
        'CSISO18GREEK7OLD',
513
    ),
514
    'LATIN-GREEK' => array(
515
        'ISO-IR-19',
516
        'CSISO19LATINGREEK',
517
    ),
518
    'DIN-66003' => array(
519
        'ISO-IR-21',
520
        'DE',
521
        'ISO646-DE',
522
        'CSISO21GERMAN',
523
    ),
524
    'NF-Z-62-010-' => array(
525
        'ISO-IR-25',
526
        'ISO646-FR1',
527
        'CSISO25FRENCH',
528
    ),
529
    'LATIN-GREEK-1' => array(
530
        'ISO-IR-27',
531
        'CSISO27LATINGREEK1',
532
    ),
533
    'ISO-5427' => array(
534
        'ISO-IR-37',
535
        'CSISO5427CYRILLIC',
536
        'ISO-IR-54',
537
        'ISO5427CYRILLIC1981',
538
    ),
539
    'JIS-C6226-1978' => array(
540
        'ISO-IR-42',
541
        'CSISO42JISC62261978',
542
    ),
543
    'BS-VIEWDATA' => array(
544
        'ISO-IR-47',
545
        'CSISO47BSVIEWDATA',
546
    ),
547
    'INIS' => array(
548
        'ISO-IR-49',
549
        'CSISO49INIS',
550
    ),
551
    'INIS-8' => array(
552
        'ISO-IR-50',
553
        'CSISO50INIS8',
554
    ),
555
    'INIS-CYRILLIC' => array(
556
        'ISO-IR-51',
557
        'CSISO51INISCYRILLIC',
558
    ),
559
    'ISO-5428' => array(
560
        'ISO-IR-55',
561
        'CSISO5428GREEK',
562
    ),
563
    'GB-1988-80' => array(
564
        'ISO-IR-57',
565
        'CN',
566
        'ISO646-CN',
567
        'CSISO57GB1988',
568
    ),
569
    'GB-2312-80' => array(
570
        'ISO-IR-58',
571
        'CHINESE',
572
        'CSISO58GB231280',
573
    ),
574
    'NS-4551-1' => array(
575
        'ISO-IR-60',
576
        'ISO646-NO',
577
        'NO',
578
        'CSISO60DANISHNORWEGIAN',
579
        'CSISO60NORWEGIAN1',
580
    ),
581
    'NS-4551-2' => array(
582
        'ISO646-NO2',
583
        'ISO-IR-61',
584
        'NO2',
585
        'CSISO61NORWEGIAN2',
586
    ),
587
    'NF-Z-62-010' => array(
588
        'ISO-IR-69',
589
        'ISO646-FR',
590
        'FR',
591
        'CSISO69FRENCH',
592
    ),
593
    'VIDEOTEX-SUPPL' => array(
594
        'ISO-IR-70',
595
        'CSISO70VIDEOTEXSUPP1',
596
    ),
597
    'PT2' => array(
598
        'ISO-IR-84',
599
        'ISO646-PT2',
600
        'CSISO84PORTUGUESE2',
601
    ),
602
    'ES2' => array(
603
        'ISO-IR-85',
604
        'ISO646-ES2',
605
        'CSISO85SPANISH2',
606
    ),
607
    'MSZ-7795-3' => array(
608
        'ISO-IR-86',
609
        'ISO646-HU',
610
        'HU',
611
        'CSISO86HUNGARIAN',
612
    ),
613
    'JIS-C6226-1983' => array(
614
        'ISO-IR-87',
615
        'X0208',
616
        'JIS-X0208-1983',
617
        'CSISO87JISX0208',
618
    ),
619
    'GREEK7' => array(
620
        'ISO-IR-88',
621
        'CSISO88GREEK7',
622
    ),
623
    'ASMO-449' => array(
624
        'ISO-9036',
625
        'ARABIC7',
626
        'ISO-IR-89',
627
        'CSISO89ASMO449',
628
    ),
629
    'ISO-IR-90' => array(
630
        'CSISO90',
631
    ),
632
    'JIS-C6229-1984-A' => array(
633
        'ISO-IR-91',
634
        'JP-OCR-A',
635
        'CSISO91JISC62291984A',
636
    ),
637
    'JIS-C6229-1984-B' => array(
638
        'ISO-IR-92',
639
        'ISO646-JP-OCR-B',
640
        'JP-OCR-B',
641
        'CSISO92JISC62991984B',
642
    ),
643
    'JIS-C6229-1984-B-ADD' => array(
644
        'ISO-IR-93',
645
        'JP-OCR-B-ADD',
646
        'CSISO93JIS62291984BADD',
647
    ),
648
    'JIS-C6229-1984-HAND' => array(
649
        'ISO-IR-94',
650
        'JP-OCR-HAND',
651
        'CSISO94JIS62291984HAND',
652
    ),
653
    'JIS-C6229-1984-HAND-ADD' => array(
654
        'ISO-IR-95',
655
        'JP-OCR-HAND-ADD',
656
        'CSISO95JIS62291984HANDADD',
657
    ),
658
    'JIS-C6229-1984-KANA' => array(
659
        'ISO-IR-96',
660
        'CSISO96JISC62291984KANA',
661
    ),
662
    'ISO-2033-1983' => array(
663
        'ISO-IR-98',
664
        'E13B',
665
        'CSISO2033',
666
    ),
667
    'ANSI-X3-110-1983' => array(
668
        'ISO-IR-99',
669
        'CSA-T500-1983',
670
        'NAPLPS',
671
        'CSISO99NAPLPS',
672
    ),
673
    'ISO-8859-1' => array(
674
        'ISO-IR-100',
675
        'LATIN1',
676
        'L1',
677
        'IBM819',
678
        'CP819',
679
        'CSISOLATIN1',
680
    ),
681
    'ISO-8859-2' => array(
682
        'ISO-IR-101',
683
        'LATIN2',
684
        'L2',
685
        'CSISOLATIN2',
686
    ),
687
    'T-61-7BIT' => array(
688
        'ISO-IR-102',
689
        'CSISO102T617BIT',
690
    ),
691
    'T-61-8BIT' => array(
692
        'T-61',
693
        'ISO-IR-103',
694
        'CSISO103T618BIT',
695
    ),
696
    'ISO-8859-3' => array(
697
        'ISO-IR-109',
698
        'LATIN3',
699
        'L3',
700
        'CSISOLATIN3',
701
    ),
702
    'ISO-8859-4' => array(
703
        'ISO-IR-110',
704
        'LATIN4',
705
        'L4',
706
        'CSISOLATIN4',
707
    ),
708
    'ECMA-CYRILLIC' => array(
709
        'ISO-IR-111',
710
        'KOI8-E',
711
        'CSISO111ECMACYRILLIC',
712
    ),
713
    'CSA-Z243-4-1985-1' => array(
714
        'ISO-IR-121',
715
        'ISO646-CA',
716
        'CSA7-1',
717
        'CA',
718
        'CSISO121CANADIAN1',
719
    ),
720
    'CSA-Z243-4-1985-2' => array(
721
        'ISO-IR-122',
722
        'ISO646-CA2',
723
        'CSA7-2',
724
        'CSISO122CANADIAN2',
725
    ),
726
    'CSA-Z243-4-1985-GR' => array(
727
        'ISO-IR-123',
728
        'CSISO123CSAZ24341985GR',
729
    ),
730
    'ISO-8859-6' => array(
731
        'ISO-IR-127',
732
        'ECMA-114',
733
        'ASMO-708',
734
        'ARABIC',
735
        'CSISOLATINARABIC',
736
    ),
737
    'ISO-8859-6-E' => array(
738
        'CSISO88596E',
739
    ),
740
    'ISO-8859-6-I' => array(
741
        'CSISO88596I',
742
    ),
743
    'ISO-8859-7' => array(
744
        'ISO-IR-126',
745
        'ELOT-928',
746
        'ECMA-118',
747
        'GREEK',
748
        'GREEK8',
749
        'CSISOLATINGREEK',
750
    ),
751
    'T-101-G2' => array(
752
        'ISO-IR-128',
753
        'CSISO128T101G2',
754
    ),
755
    'ISO-8859-8' => array(
756
        'ISO-IR-138',
757
        'HEBREW',
758
        'CSISOLATINHEBREW',
759
    ),
760
    'ISO-8859-8-E' => array(
761
        'CSISO88598E',
762
    ),
763
    'ISO-8859-8-I' => array(
764
        'CSISO88598I',
765
    ),
766
    'CSN-369103' => array(
767
        'ISO-IR-139',
768
        'CSISO139CSN369103',
769
    ),
770
    'JUS-I-B1-002' => array(
771
        'ISO-IR-141',
772
        'ISO646-YU',
773
        'JS',
774
        'YU',
775
        'CSISO141JUSIB1002',
776
    ),
777
    'ISO-6937-2-ADD' => array(
778
        'ISO-IR-142',
779
        'CSISOTEXTCOMM',
780
    ),
781
    'IEC-P27-1' => array(
782
        'ISO-IR-143',
783
        'CSISO143IECP271',
784
    ),
785
    'ISO-8859-5' => array(
786
        'ISO-IR-144',
787
        'CYRILLIC',
788
        'CSISOLATINCYRILLIC',
789
    ),
790
    'JUS-I-B1-003-SERB' => array(
791
        'ISO-IR-146',
792
        'SERBIAN',
793
        'CSISO146SERBIAN',
794
    ),
795
    'JUS-I-B1-003-MAC' => array(
796
        'MACEDONIAN',
797
        'ISO-IR-147',
798
        'CSISO147MACEDONIAN',
799
    ),
800
    'ISO-8859-9' => array(
801
        'ISO-IR-148',
802
        'LATIN5',
803
        'L5',
804
        'CSISOLATIN5',
805
    ),
806
    'GREEK-CCITT' => array(
807
        'ISO-IR-150',
808
        'CSISO150',
809
        'CSISO150GREEKCCITT',
810
    ),
811
    'NC-NC00-10' => array(
812
        'CUBA',
813
        'ISO-IR-151',
814
        'ISO646-CU',
815
        'CSISO151CUBA',
816
    ),
817
    'ISO-6937-2-25' => array(
818
        'ISO-IR-152',
819
        'CSISO6937ADD',
820
    ),
821
    'GOST-19768-74' => array(
822
        'ST-SEV-358-88',
823
        'ISO-IR-153',
824
        'CSISO153GOST1976874',
825
    ),
826
    'ISO-8859-SUPP' => array(
827
        'ISO-IR-154',
828
        'LATIN1-2-5',
829
        'CSISO8859SUPP',
830
    ),
831
    'ISO-10367-BOX' => array(
832
        'ISO-IR-155',
833
        'CSISO10367BOX',
834
    ),
835
    'ISO-8859-10' => array(
836
        'ISO-IR-157',
837
        'L6',
838
        'CSISOLATIN6',
839
        'LATIN6',
840
    ),
841
    'LATIN-LAP' => array(
842
        'LAP',
843
        'ISO-IR-158',
844
        'CSISO158LAP',
845
    ),
846
    'JIS-X0212-1990' => array(
847
        'X0212',
848
        'ISO-IR-159',
849
        'CSISO159JISX02121990',
850
    ),
851
    'DS-2089' => array(
852
        'DS2089',
853
        'ISO646-DK',
854
        'DK',
855
        'CSISO646DANISH',
856
    ),
857
    'US-DK' => array(
858
        'CSUSDK',
859
    ),
860
    'DK-US' => array(
861
        'CSDKUS',
862
    ),
863
    'JIS-X0201' => array(
864
        'X0201',
865
        'CSHALFWIDTHKATAKANA',
866
    ),
867
    'KSC5636' => array(
868
        'ISO646-KR',
869
        'CSKSC5636',
870
    ),
871
    'ISO-10646-UCS-2' => array(
872
        'CSUNICODE',
873
    ),
874
    'ISO-10646-UCS-4' => array(
875
        'CSUCS4',
876
    ),
877
    'DEC-MCS' => array(
878
        'DEC',
879
        'CSDECMCS',
880
    ),
881
    'HP-ROMAN8' => array(
882
        'ROMAN8',
883
        'R8',
884
        'CSHPROMAN8',
885
    ),
886
    'MACINTOSH' => array(
887
        'MAC',
888
        'CSMACINTOSH',
889
    ),
890
    'IBM037' => array(
891
        'CP037',
892
        'EBCDIC-CP-US',
893
        'EBCDIC-CP-CA',
894
        'EBCDIC-CP-WT',
895
        'EBCDIC-CP-NL',
896
        'CSIBM037',
897
    ),
898
    'IBM038' => array(
899
        'EBCDIC-INT',
900
        'CP038',
901
        'CSIBM038',
902
    ),
903
    'IBM273' => array(
904
        'CP273',
905
        'CSIBM273',
906
    ),
907
    'IBM274' => array(
908
        'EBCDIC-BE',
909
        'CP274',
910
        'CSIBM274',
911
    ),
912
    'IBM275' => array(
913
        'EBCDIC-BR',
914
        'CP275',
915
        'CSIBM275',
916
    ),
917
    'IBM277' => array(
918
        'EBCDIC-CP-DK',
919
        'EBCDIC-CP-NO',
920
        'CSIBM277',
921
    ),
922
    'IBM278' => array(
923
        'CP278',
924
        'EBCDIC-CP-FI',
925
        'EBCDIC-CP-SE',
926
        'CSIBM278',
927
    ),
928
    'IBM280' => array(
929
        'CP280',
930
        'EBCDIC-CP-IT',
931
        'CSIBM280',
932
    ),
933
    'IBM281' => array(
934
        'EBCDIC-JP-E',
935
        'CP281',
936
        'CSIBM281',
937
    ),
938
    'IBM284' => array(
939
        'CP284',
940
        'EBCDIC-CP-ES',
941
        'CSIBM284',
942
    ),
943
    'IBM285' => array(
944
        'CP285',
945
        'EBCDIC-CP-GB',
946
        'CSIBM285',
947
    ),
948
    'IBM290' => array(
949
        'CP290',
950
        'EBCDIC-JP-KANA',
951
        'CSIBM290',
952
    ),
953
    'IBM297' => array(
954
        'CP297',
955
        'EBCDIC-CP-FR',
956
        'CSIBM297',
957
    ),
958
    'IBM420' => array(
959
        'CP420',
960
        'EBCDIC-CP-AR1',
961
        'CSIBM420',
962
    ),
963
    'IBM423' => array(
964
        'CP423',
965
        'EBCDIC-CP-GR',
966
        'CSIBM423',
967
    ),
968
    'IBM424' => array(
969
        'CP424',
970
        'EBCDIC-CP-HE',
971
        'CSIBM424',
972
    ),
973
    'IBM437' => array(
974
        'CP437',
975
        '437',
976
        'CSPC8CODEPAGE437',
977
    ),
978
    'IBM500' => array(
979
        'CP500',
980
        'EBCDIC-CP-BE',
981
        'EBCDIC-CP-CH',
982
        'CSIBM500',
983
    ),
984
    'IBM775' => array(
985
        'CP775',
986
        'CSPC775BALTIC',
987
    ),
988
    'IBM850' => array(
989
        'CP850',
990
        '850',
991
        'CSPC850MULTILINGUAL',
992
    ),
993
    'IBM851' => array(
994
        'CP851',
995
        '851',
996
        'CSIBM851',
997
    ),
998
    'IBM852' => array(
999
        'CP852',
1000
        '852',
1001
        'CSPCP852',
1002
    ),
1003
    'IBM855' => array(
1004
        'CP855',
1005
        '855',
1006
        'CSIBM855',
1007
    ),
1008
    'IBM857' => array(
1009
        'CP857',
1010
        '857',
1011
        'CSIBM857',
1012
    ),
1013
    'IBM860' => array(
1014
        'CP860',
1015
        '860',
1016
        'CSIBM860',
1017
    ),
1018
    'IBM861' => array(
1019
        'CP861',
1020
        '861',
1021
        'CP-IS',
1022
        'CSIBM861',
1023
    ),
1024
    'IBM862' => array(
1025
        'CP862',
1026
        '862',
1027
        'CSPC862LATINHEBREW',
1028
    ),
1029
    'IBM863' => array(
1030
        'CP863',
1031
        '863',
1032
        'CSIBM863',
1033
    ),
1034
    'IBM864' => array(
1035
        'CP864',
1036
        'CSIBM864',
1037
    ),
1038
    'IBM865' => array(
1039
        'CP865',
1040
        '865',
1041
        'CSIBM865',
1042
    ),
1043
    'IBM866' => array(
1044
        'CP866',
1045
        '866',
1046
        'CSIBM866',
1047
    ),
1048
    'IBM868' => array(
1049
        'CP868',
1050
        'CP-AR',
1051
        'CSIBM868',
1052
    ),
1053
    'IBM869' => array(
1054
        'CP869',
1055
        '869',
1056
        'CP-GR',
1057
        'CSIBM869',
1058
    ),
1059
    'IBM870' => array(
1060
        'CP870',
1061
        'EBCDIC-CP-ROECE',
1062
        'EBCDIC-CP-YU',
1063
        'CSIBM870',
1064
    ),
1065
    'IBM871' => array(
1066
        'CP871',
1067
        'EBCDIC-CP-IS',
1068
        'CSIBM871',
1069
    ),
1070
    'IBM880' => array(
1071
        'CP880',
1072
        'EBCDIC-CYRILLIC',
1073
        'CSIBM880',
1074
    ),
1075
    'IBM891' => array(
1076
        'CP891',
1077
        'CSIBM891',
1078
    ),
1079
    'IBM903' => array(
1080
        'CP903',
1081
        'CSIBM903',
1082
    ),
1083
    'IBM904' => array(
1084
        'CP904',
1085
        '904',
1086
        'CSIBBM904',
1087
    ),
1088
    'IBM905' => array(
1089
        'CP905',
1090
        'EBCDIC-CP-TR',
1091
        'CSIBM905',
1092
    ),
1093
    'IBM918' => array(
1094
        'CP918',
1095
        'EBCDIC-CP-AR2',
1096
        'CSIBM918',
1097
    ),
1098
    'IBM1026' => array(
1099
        'CP1026',
1100
        'CSIBM1026',
1101
    ),
1102
    'EBCDIC-AT-DE' => array(
1103
        'CSIBMEBCDICATDE',
1104
    ),
1105
    'EBCDIC-AT-DE-A' => array(
1106
        'CSEBCDICATDEA',
1107
    ),
1108
    'EBCDIC-CA-FR' => array(
1109
        'CSEBCDICCAFR',
1110
    ),
1111
    'EBCDIC-DK-NO' => array(
1112
        'CSEBCDICDKNO',
1113
    ),
1114
    'EBCDIC-DK-NO-A' => array(
1115
        'CSEBCDICDKNOA',
1116
    ),
1117
    'EBCDIC-FI-SE' => array(
1118
        'CSEBCDICFISE',
1119
    ),
1120
    'EBCDIC-FI-SE-A' => array(
1121
        'CSEBCDICFISEA',
1122
    ),
1123
    'EBCDIC-FR' => array(
1124
        'CSEBCDICFR',
1125
    ),
1126
    'EBCDIC-IT' => array(
1127
        'CSEBCDICIT',
1128
    ),
1129
    'EBCDIC-PT' => array(
1130
        'CSEBCDICPT',
1131
    ),
1132
    'EBCDIC-ES' => array(
1133
        'CSEBCDICES',
1134
    ),
1135
    'EBCDIC-ES-A' => array(
1136
        'CSEBCDICESA',
1137
    ),
1138
    'EBCDIC-ES-S' => array(
1139
        'CSEBCDICESS',
1140
    ),
1141
    'EBCDIC-UK' => array(
1142
        'CSEBCDICUK',
1143
    ),
1144
    'EBCDIC-US' => array(
1145
        'CSEBCDICUS',
1146
    ),
1147
    'UNKNOWN-8BIT' => array(
1148
        'CSUNKNOWN8BIT',
1149
    ),
1150
    'MNEMONIC' => array(
1151
        'CSMNEMONIC',
1152
    ),
1153
    'MNEM' => array(
1154
        'CSMNEM',
1155
    ),
1156
    'VISCII' => array(
1157
        'CSVISCII',
1158
    ),
1159
    'VIQR' => array(
1160
        'CSVIQR',
1161
    ),
1162
    'KOI8-R' => array(
1163
        'CSKOI8R',
1164
    ),
1165
    'IBM00858' => array(
1166
        'CCSID00858',
1167
        'CP00858',
1168
        'PC-MULTILINGUAL-850-EURO',
1169
    ),
1170
    'IBM00924' => array(
1171
        'CCSID00924',
1172
        'CP00924',
1173
        'EBCDIC-LATIN9--EURO',
1174
    ),
1175
    'IBM01140' => array(
1176
        'CCSID01140',
1177
        'CP01140',
1178
        'EBCDIC-US-37-EURO',
1179
    ),
1180
    'IBM01141' => array(
1181
        'CCSID01141',
1182
        'CP01141',
1183
        'EBCDIC-DE-273-EURO',
1184
    ),
1185
    'IBM01142' => array(
1186
        'CCSID01142',
1187
        'CP01142',
1188
        'EBCDIC-DK-277-EURO',
1189
        'EBCDIC-NO-277-EURO',
1190
    ),
1191
    'IBM01143' => array(
1192
        'CCSID01143',
1193
        'CP01143',
1194
        'EBCDIC-FI-278-EURO',
1195
        'EBCDIC-SE-278-EURO',
1196
    ),
1197
    'IBM01144' => array(
1198
        'CCSID01144',
1199
        'CP01144',
1200
        'EBCDIC-IT-280-EURO',
1201
    ),
1202
    'IBM01145' => array(
1203
        'CCSID01145',
1204
        'CP01145',
1205
        'EBCDIC-ES-284-EURO',
1206
    ),
1207
    'IBM01146' => array(
1208
        'CCSID01146',
1209
        'CP01146',
1210
        'EBCDIC-GB-285-EURO',
1211
    ),
1212
    'IBM01147' => array(
1213
        'CCSID01147',
1214
        'CP01147',
1215
        'EBCDIC-FR-297-EURO',
1216
    ),
1217
    'IBM01148' => array(
1218
        'CCSID01148',
1219
        'CP01148',
1220
        'EBCDIC-INTERNATIONAL-500-EURO',
1221
    ),
1222
    'IBM01149' => array(
1223
        'CCSID01149',
1224
        'CP01149',
1225
        'EBCDIC-IS-871-EURO',
1226
    ),
1227
    'IBM1047' => array(
1228
        'IBM-1047',
1229
    ),
1230
    'PTCP154' => array(
1231
        'CSPTCP154',
1232
        'PT154',
1233
        'CP154',
1234
        'CYRILLIC-ASIAN',
1235
    ),
1236
    'AMIGA-1251' => array(
1237
        'AMI1251',
1238
        'AMIGA1251',
1239
        'AMI-1251',
1240
    ),
1241
    'UNICODE-1-1' => array(
1242
        'CSUNICODE11',
1243
    ),
1244
    'CESU-8' => array(
1245
        'CSCESU-8',
1246
    ),
1247
    'BOCU-1' => array(
1248
        'CSBOCU-1',
1249
    ),
1250
    'UNICODE-1-1-UTF-7' => array(
1251
        'CSUNICODE11UTF7',
1252
    ),
1253
    'ISO-8859-14' => array(
1254
        'ISO-IR-199',
1255
        'LATIN8',
1256
        'ISO-CELTIC',
1257
        'L8',
1258
    ),
1259
    'ISO-8859-15' => array(
1260
        'LATIN-9',
1261
    ),
1262
    'ISO-8859-16' => array(
1263
        'ISO-IR-226',
1264
        'LATIN10',
1265
        'L10',
1266
    ),
1267
    'GBK' => array(
1268
        'CP936',
1269
        'MS936',
1270
        'WINDOWS-936',
1271
    ),
1272
    'JIS-ENCODING' => array(
1273
        'CSJISENCODING',
1274
    ),
1275
    'SHIFT-JIS' => array(
1276
        'MS-KANJI',
1277
        'CSSHIFTJIS',
1278
    ),
1279
    'EUC-JP' => array(
1280
        'CSEUCPKDFMTJAPANESE',
1281
    ),
1282
    'EXTENDED-UNIX-CODE-FIXED-WIDTH-FOR-JAPANESE' => array(
1283
        'CSEUCFIXWIDJAPANESE',
1284
    ),
1285
    'ISO-10646-UCS-BASIC' => array(
1286
        'CSUNICODEASCII',
1287
    ),
1288
    'ISO-10646-UNICODE-LATIN1' => array(
1289
        'CSUNICODELATIN1',
1290
        'ISO-10646',
1291
    ),
1292
    'ISO-UNICODE-IBM-1261' => array(
1293
        'CSUNICODEIBM1261',
1294
    ),
1295
    'ISO-UNICODE-IBM-1268' => array(
1296
        'CSUNICODEIBM1268',
1297
    ),
1298
    'ISO-UNICODE-IBM-1276' => array(
1299
        'CSUNICODEIBM1276',
1300
    ),
1301
    'ISO-UNICODE-IBM-1264' => array(
1302
        'CSUNICODEIBM1264',
1303
    ),
1304
    'ISO-UNICODE-IBM-1265' => array(
1305
        'CSUNICODEIBM1265',
1306
    ),
1307
    'ISO-8859-1-WINDOWS-3-0-LATIN-1' => array(
1308
        'CSWINDOWS30LATIN1',
1309
    ),
1310
    'ISO-8859-1-WINDOWS-3-1-LATIN-1' => array(
1311
        'CSWINDOWS31LATIN1',
1312
    ),
1313
    'ISO-8859-2-WINDOWS-LATIN-2' => array(
1314
        'CSWINDOWS31LATIN2',
1315
    ),
1316
    'ISO-8859-9-WINDOWS-LATIN-5' => array(
1317
        'CSWINDOWS31LATIN5',
1318
    ),
1319
    'ADOBE-STANDARD-ENCODING' => array(
1320
        'CSADOBESTANDARDENCODING',
1321
    ),
1322
    'VENTURA-US' => array(
1323
        'CSVENTURAUS',
1324
    ),
1325
    'VENTURA-INTERNATIONAL' => array(
1326
        'CSVENTURAINTERNATIONAL',
1327
    ),
1328
    'PC8-DANISH-NORWEGIAN' => array(
1329
        'CSPC8DANISHNORWEGIAN',
1330
    ),
1331
    'PC8-TURKISH' => array(
1332
        'CSPC8TURKISH',
1333
    ),
1334
    'IBM-SYMBOLS' => array(
1335
        'CSIBMSYMBOLS',
1336
    ),
1337
    'IBM-THAI' => array(
1338
        'CSIBMTHAI',
1339
    ),
1340
    'HP-LEGAL' => array(
1341
        'CSHPLEGAL',
1342
    ),
1343
    'HP-PI-FONT' => array(
1344
        'CSHPPIFONT',
1345
    ),
1346
    'HP-MATH8' => array(
1347
        'CSHPMATH8',
1348
    ),
1349
    'ADOBE-SYMBOL-ENCODING' => array(
1350
        'CSHPPSMATH',
1351
    ),
1352
    'HP-DESKTOP' => array(
1353
        'CSHPDESKTOP',
1354
    ),
1355
    'VENTURA-MATH' => array(
1356
        'CSVENTURAMATH',
1357
    ),
1358
    'MICROSOFT-PUBLISHING' => array(
1359
        'CSMICROSOFTPUBLISHING',
1360
    ),
1361
    'WINDOWS-31J' => array(
1362
        'CSWINDOWS31J',
1363
    ),
1364
    'GB2312' => array(
1365
        'CSGB2312',
1366
    ),
1367
    'BIG5' => array(
1368
        'CSBIG5',
1369
    ),
1370
);
1371
 
1372
?>