Ruby  1.9.3p448(2013-06-27revision41675)
iso_2022_jp.h
Go to the documentation of this file.
1 #include "regenc.h"
2 /* dummy for unsupported, statefull encoding */
3 ENC_DUMMY("ISO-2022-JP");
4 ENC_ALIAS("ISO2022-JP", "ISO-2022-JP");
5 ENC_REPLICATE("ISO-2022-JP-2", "ISO-2022-JP");
6 ENC_ALIAS("ISO2022-JP2", "ISO-2022-JP-2");
7 
8 /* Windows Codepage 50220
9  * a ISO-2022-JP variant.
10  * This includes
11  * * US-ASCII
12  * * JIS X 0201 Latin
13  * * JIS X 0201 Katakana
14  * * JIS X 0208
15  * * NEC special characters
16  * * NEC selected IBM extended characters
17  * and this implementation doesn't include
18  * * User Defined Characters
19  *
20  * So this CP50220 has the same characters of CP51932.
21  *
22  * See http://legacy-encoding.sourceforge.jp/wiki/index.php?cp50220
23  */
24 ENC_REPLICATE("CP50220", "ISO-2022-JP");
25 
26 /* Windows Codepage 50221
27  * a ISO-2022-JP variant.
28  * This includes
29  * * US-ASCII
30  * * JIS X 0201 Latin
31  * * JIS X 0201 Katakana
32  * * JIS X 0208
33  * * NEC special characters
34  * * NEC selected IBM extended characters
35  * and this implementation doesn't include
36  * * User Defined Characters
37  *
38  * So this CP50221 has the same characters of CP51932.
39  *
40  * See http://legacy-encoding.sourceforge.jp/wiki/index.php?cp50221
41  */
42 ENC_REPLICATE("CP50221", "ISO-2022-JP");
ENC_DUMMY("ISO-2022-JP")
ENC_REPLICATE("ISO-2022-JP-2","ISO-2022-JP")
ENC_ALIAS("ISO2022-JP","ISO-2022-JP")