1 |
#?PESRC/1.0 |
2 |
Name: |
3 |
ISO2022::EUCZH |
4 |
ShortDescription: |
5 |
An Encode module of EUC (8-bit ISO/IEC 2022 |
6 |
based coding system) for Chinese |
7 |
|
8 |
{ |
9 |
Name: |
10 |
euc-china |
11 |
Alias: |
12 |
euc-china euc-cn euccn euc-gb cn-gb chinese-iso-8bit ugb gb x-euc-cn cp51936 |
13 |
cn-gb-2312 gb2312 csgb2312 |
14 |
|
15 |
ibm-euccn CP1383 1383 |
16 |
Cversion: |
17 |
C:bit=8 |
18 |
C:G0=G94:B ## ASCII |
19 |
C:G1=G94n:A ## GB 2312-80 |
20 |
C:designate:*:default=-1 |
21 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
22 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
23 |
C:option:{C1invoke_to_right}=1 |
24 |
C:option:{reset}->{Gdesignation}=0 |
25 |
C:option:{reset}->{Ginvoke}=0 |
26 |
C:option:{undef_char}=["\x21\x7E", {type => 'G94n', charset => 'A'}] |
27 |
Encode: |
28 |
=>ucs_to_ascii ucs_to_gb2312_1980 |
29 |
->iso2022:C |
30 |
Decode: |
31 |
<-iso2022:C |
32 |
<=gb2312_1980_to_ucs |
33 |
Description: |
34 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese. |
35 |
} |
36 |
|
37 |
{ |
38 |
Name: |
39 |
cn-gb-isoir165 |
40 |
Alias: |
41 |
iso-ir-165 |
42 |
Cversion: |
43 |
C:bit=8 |
44 |
C:G0=G94:B ## ASCII |
45 |
C:G1=G94n:E ## ISO-IR 165 |
46 |
C:designate:*:default=-1 |
47 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
48 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
49 |
C:option:{C1invoke_to_right}=1 |
50 |
C:option:{reset}->{Gdesignation}=0 |
51 |
C:option:{reset}->{Ginvoke}=0 |
52 |
C:option:{undef_char}=["\x21\x7E", {type => 'G94n', charset => 'E'}] |
53 |
Encode: |
54 |
=>ucs_to_ascii ucs_to_iso_ir_165 |
55 |
->iso2022:C |
56 |
Decode: |
57 |
<-iso2022:C |
58 |
<=iso_ir_165_to_ucs |
59 |
Description: |
60 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese |
61 |
with ISO-IR 165. |
62 |
} |
63 |
|
64 |
{ |
65 |
Name: |
66 |
euc-gb12345 |
67 |
Alias: |
68 |
cn-gb-12345 gb12345 |
69 |
Cversion: |
70 |
require:private:gb |
71 |
C:bit=8 |
72 |
C:G0=G94:B ## ASCII |
73 |
C:G1=G94n:CSgb12345 ## GB 12345-90 |
74 |
C:designate:*:default=-1 |
75 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
76 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
77 |
C:option:{C1invoke_to_right}=1 |
78 |
C:option:{reset}->{Gdesignation}=0 |
79 |
C:option:{reset}->{Ginvoke}=0 |
80 |
C:option:{undef_char}=["\x21\x7E", {type => 'G94n', charset => 'CSgb12345'}] |
81 |
Encode: |
82 |
=>ucs_to_ascii ucs_to_gb12345_1990 |
83 |
->iso2022:C |
84 |
Decode: |
85 |
<-iso2022:C |
86 |
<=gb12345_1990_to_ucs |
87 |
Description: |
88 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese |
89 |
with GB 12345-90. |
90 |
} |
91 |
|
92 |
{ |
93 |
Name: |
94 |
euc-cwnn |
95 |
Alias: |
96 |
cwnn-iso-8bit |
97 |
Cversion: |
98 |
require:private:mule |
99 |
C:bit=8 |
100 |
C:G0=G94:B ## ASCII |
101 |
C:G1=G94n:A ## GB 2312-80 |
102 |
C:G2=G94:CSomron_sisheng ## omron_udc_zh (sisheng) |
103 |
C:designate:*:default=-1 |
104 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
105 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
106 |
C:option:{C1invoke_to_right}=1 |
107 |
C:option:{reset}->{Gdesignation}=0 |
108 |
C:option:{reset}->{Ginvoke}=0 |
109 |
C:option:{undef_char}=["\x21\x7E", {type => 'G94n', charset => 'A'}] |
110 |
Encode: |
111 |
=>ucs_to_ascii ucs_to_gb2312_1980 ucs_to_omron_udc_zh |
112 |
->iso2022:C |
113 |
Decode: |
114 |
<-iso2022:C |
115 |
<=gb2312_1980_to_ucs omron_udc_zh_to_ucs |
116 |
Description: |
117 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese |
118 |
with GB 2312, used by cwnn input system. |
119 |
|
120 |
See <http://www.tomo.gr.jp/users/wnn/9912ml/msg00088.html>. |
121 |
} |
122 |
|
123 |
{ |
124 |
Name: |
125 |
euc-taiwan |
126 |
Alias: |
127 |
euc-tw euctw x-euc-tw cns11643 cseuctw |
128 |
|
129 |
ibm-euctw cp964 |
130 |
Cversion: |
131 |
#require:private:cns |
132 |
C:bit=8 |
133 |
C:G0=G94:B ## ASCII |
134 |
C:G1=G94n:G ## CNS 11643 plane 1 |
135 |
## BUG: does not support plane 2-16 yet |
136 |
C:G2=G94: ` ## 3byte DRCS (temporary) |
137 |
C:designate:*:default=-1 |
138 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
139 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
140 |
C:option:{C1invoke_to_right}=1 |
141 |
C:option:{reset}->{Gdesignation}=0 |
142 |
C:option:{reset}->{Ginvoke}=0 |
143 |
C:option:{undef_char}=["\x3F", {type => 'G94', charset => 'B'}] |
144 |
Encode: |
145 |
=>ucs_to_ascii ucs_to_cns11643_1 ucs_to_cns11643_2 ucs_to_cns11643_3 ucs_to_cns11643_4 ucs_to_cns11643_5 ucs_to_cns11643_6 ucs_to_cns11643_7 ucs_to_cns11643_8 ucs_to_cns11643_9 ucs_to_cns11643_10 ucs_to_cns11643_11 ucs_to_cns11643_12 ucs_to_cns11643_13 ucs_to_cns11643_14 ucs_to_cns11643_15 ucs_to_cns11643_16 |
146 |
->iso2022:C |
147 |
Decode: |
148 |
<-iso2022:C |
149 |
<=cns11643_1_to_ucs cns11643_2_to_ucs cns11643_3_to_ucs cns11643_4_to_ucs cns11643_5_to_ucs cns11643_6_to_ucs cns11643_7_to_ucs cns11643_8_to_ucs cns11643_9_to_ucs cns11643_10_to_ucs cns11643_11_to_ucs cns11643_12_to_ucs cns11643_13_to_ucs cns11643_14_to_ucs cns11643_15_to_ucs cns11643_16_to_ucs |
150 |
Description: |
151 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese |
152 |
with CNS 11643. |
153 |
} |
154 |
|
155 |
{ |
156 |
Name: |
157 |
euc-twnn |
158 |
Alias: |
159 |
twnn-iso-8bit |
160 |
Cversion: |
161 |
require:private:mule |
162 |
C:bit=8 |
163 |
C:G0=G94:B ## ASCII |
164 |
C:G1=G94n:G ## CNS 11643 plane 1 |
165 |
C:G2=G94:CSomron_sisheng ## omron_udc_zh (sisheng) |
166 |
C:G3=G94n:H ## CNS 11643 plane 2 |
167 |
C:designate:*:default=-1 |
168 |
C:option:{Ginvoke_to_left}=[1,0,0,0] |
169 |
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
170 |
C:option:{C1invoke_to_right}=1 |
171 |
C:option:{reset}->{Gdesignation}=0 |
172 |
C:option:{reset}->{Ginvoke}=0 |
173 |
C:option:{undef_char}=["\x3F", {type => 'G94', charset => 'B'}] |
174 |
Encode: |
175 |
=>ucs_to_ascii ucs_to_cns11643_1 ucs_to_cns11643_2 ucs_to_omron_udc_zh |
176 |
->iso2022:C |
177 |
Decode: |
178 |
<-iso2022:C |
179 |
<=cns11643_1_to_ucs cns11643_2_to_ucs omron_udc_zh_to_ucs |
180 |
Description: |
181 |
EUC (ISO/IEC 2022 based 8-bit encoding) for Chinese |
182 |
with CNS 11643, used by twnn input system. |
183 |
See <http://www.tomo.gr.jp/users/wnn/9912ml/msg00088.html>. |
184 |
} |
185 |
|
186 |
POD:SEE ALSO: |
187 |
L<Encode::ISO2022> |
188 |
POD:LICENSE: |
189 |
Copyright %%YEAR%% Nanashi-san <nanashi@san.invalid> |
190 |
|
191 |
%%PerlLicense%% |