/[suikacvs]/perl/lib/Encode/ISO2022/SevenBit.esr
Suika

Contents of /perl/lib/Encode/ISO2022/SevenBit.esr

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Nov 6 09:29:16 2002 UTC (22 years, 1 month ago) by wakaba
Branch: MAIN
2002-11-06  Wakaba <w@suika.fam.cx>

	* SevenBit.esr, EightBit.esr, JUNET.esr,
	JUNETCompatible.esr, EUCJA.esr, EUCJACompatible.esr,
	EUCKR.esr, EUCZH.esr: New files.
	* SevenBit.pm, EightBit.pm: Removed.
	(Now these modules are auto-generated from *.esr files.)

1 wakaba 1.1 #?PESRC/1.0
2     Name:
3     ISO2022::SevenBit
4     ShortDescription:
5     Encode and decode of 7-bit ISO/IEC 2022 based encodings
6    
7     {
8     Name:
9     iso-2022-7bit-ss2
10     Alias:
11     x-iso-2022-jp-2 iso-2022-ss2-7 jis_encoding csjisencoding
12     Cversion:
13     C:bit=7
14     C:G0=G94:B
15     C:designate:C0:default=0
16     C:designate:C1:default=1
17     C:designate:G94:default=0
18     C:designate:G96:default=2
19     C:designate:G94n:default=0
20     C:designate:G96n:default=2
21     C:designate:coding_system:default=0
22     C:option:{Ginvoked_by_single_shift}->[2]=1
23     Encode:
24     C:GR=undef
25     C:G1=G96:~
26     ->iso2022:C
27     Decode:
28     <-iso2022:C
29     Description:
30     ISO/IEC 2022 based 7-bit encoding using SS2 for 96-charset.
31     }
32    
33     {
34     Name:
35     iso-2022-jp-2
36     Alias:
37     csiso2022jp2 iso2022jp-2
38     Cversion:
39     C:bit=7
40     C:G0=G94:B
41     C:C1=C1:G ## Minimum C1
42     C:designate:*:default=-1
43     C:designate:G94:B=0 ## ASCII
44     C:designate:G94:J=0 ## JIS X 0201 Latin
45     C:designate:G94n:@=0 ## JIS X 0208-1978
46     C:designate:G94n:A=0 ## GB 2312-80
47     C:designate:G94n:B=0 ## JIS X 0208-1983
48     C:designate:G94n:C=0 ## KS X 1001
49     C:designate:G94n:D=0 ## JIS X 0212-1990
50     C:designate:G96:A=2 ## ISO/IEC 8859-1 GR
51     C:designate:G96:F=2 ## ISO/IEC 8859-7 GR
52     C:option:{Ginvoked_by_single_shift}->[2]=1
53     Encode:
54     C:GR=undef
55     C:G1=G96:~
56     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0212_1990 ucs_to_gb2312_1980 ucs_to_ksx1001_1992 ucs_to_jisx0208_1978 ucs_to_isoiec8859_1 ucs_to_isoiec8859_7 ucs_to_jisx0201_latin
57     ->iso2022:C
58     Decode:
59     <-iso2022:C
60     <=jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs gb2312_1980_to_ucs ksx1001_1992_to_ucs isoiec8859_7_to_ucs
61     Description:
62     ISO/IEC 2022 based 7-bit multilingual encoding, defined by
63     RFC 1554. A profiled subset of iso-2022-7bit-ss2.
64     }
65    
66    
67     {
68     Name:
69     iso-2022-7bit-lock
70     Alias:
71     iso7
72     Cversion:
73     C:bit=7
74     C:G0=G94:B
75     C:designate:C0:default=0
76     C:designate:C1:default=1
77     C:designate:G94:default=0
78     C:designate:G96:default=1
79     C:designate:G94n:default=0
80     C:designate:G96n:default=1
81     C:designate:coding_system:default=0
82     Encode:
83     C:GR=undef
84     C:C1=C1:~
85     C:G1=G96:~
86     ->iso2022:C
87     Decode:
88     <-iso2022:C
89     Description:
90     ISO/IEC 2022 based 7-bit encoding using G1 and
91     locking-shift for 96-charset
92     }
93    
94     {
95     Name:
96     iso-2022-int
97     Alias:
98     iso-2022-int-* iso-2022-int-2
99     Cversion:
100     C:bit=7
101     C:G0=G94:B
102     C:designate:G94:default=0
103     C:designate:G96:default=1
104     C:designate:G94n:default=0
105     C:designate:G94n:C=1 ## KS X 1001
106     C:designate:G96n:default=1
107     Encode:
108     C:GR=undef
109     C:C1=C1:~
110     C:G1=G96:~
111     ->iso2022:C
112     Decode:
113     <-iso2022:C
114     Description:
115     ISO/IEC 2022 based 7-bit encoding using G1 and locking-shift for
116     KS X 1001 and 96-charset.
117    
118     See draft-ohta-text-encoding (expired Internet Drafts)
119     for more information.
120     }
121    
122     {
123     Name:
124     iso-2022-kr
125     Alias:
126     korean-iso-7bit csiso2022kr cp50225 kr2022 korean-mail
127     Cversion:
128     C:bit=7
129     C:G0=G94:B
130     C:designate:*:default=-1
131     C:designate:G94:B=0 ## ASCII
132     C:designate:G94n:C=1 ## KS X 1001
133     Encode:
134     C:GR=undef
135     C:C1=C1:~
136     C:G1=G96:~
137     =>ucs_to_ascii ksx1001_1992_to_ucs
138     ->iso2022:C
139     Decode:
140     C:G1=G94n:C ## KS X 1001
141     <-iso2022:C
142     <=ksx1001_1992_to_ucs
143     Description:
144     An ISO/IEC 2022 based 7-bit encoding for Korean,
145     defined by RFC 1557.
146     }
147    
148     {
149     Name:
150     iso-2022-int-1
151     Cversion:
152     C:bit=7
153     C:G0=G94:B
154     C:designate:*:default=-1
155     C:designate:G94:B=0 ## ASCII
156     C:designate:G94:J=0 ## JIS X 0201 Latin
157     C:designate:G94n:@=0 ## JIS X 0208-1978
158     C:designate:G94n:A=0 ## GB 2312-80
159     C:designate:G94n:B=0 ## JIS X 0208-1983
160     C:designate:G94n:C=1 ## KS X 1001
161     C:designate:G94n:D=0 ## JIS X 0212-1990
162     C:designate:G96:A=1 ## ISO/IEC 8859-1 GR
163     C:designate:G96:F=0 ## ISO/IEC 8859-7 GR
164     Encode:
165     C:GR=undef
166     C:C1=C1:~
167     C:G1=G96:~
168     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_gb2312_1980 ucs_to_ksx1001_1992 ucs_to_isoiec8859_1 ucs_to_isoiec8859_7 ucs_to_jisx0212_1990 ucs_to_jisx0208_1978 ucs_to_jisx0201_latin
169     ->iso2022:C
170     Decode:
171     C:G1=G94n:C ## KS X 1001
172     <-iso2022:C
173     <=jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs gb2312_1980_to_ucs ksx1001_1992_to_ucs isoiec8859_7_to_ucs
174     Description:
175     An ISO/IEC 2022 based 7-bit multilingual encoding,
176     defined by draft-ohta-text-encoding.
177     }
178    
179    
180     {
181     Name:
182     iso-2022-7bit-lock-ss2
183     Alias:
184     iso-2022-cjk
185     Cversion:
186     require:private:gb
187     require:private:cns
188     require:private:mule
189     C:bit=7
190     C:G0=G94:B
191     C:designate:C0:default=0
192     C:designate:C1:default=1
193     C:designate:G94:default=0
194     C:designate:G94n:default=0
195     C:designate:G94n:A=1 ## GB 2312-80
196     C:designate:G94n:C=1 ## KS X 1001
197     C:designate:G94n:E=1 ## ISO-IR 165
198     C:designate:G94n:G=1 ## CNS 11643 plane 1
199     C:designate:G94n:CSgb12345=1 ## GB 12345-90
200     C:designate:G96:default=2
201     C:designate:G96n:default=2
202     C:designate:G94n:CSgb7589=2 ## GB 7589-87
203     C:designate:G94n:CSgb13131=2 ## GB 13131-91
204     C:designate:G94n:H=2 ## CNS 11643 plane 2
205     C:designate:G94n:CSgb7590=3 ## GB 7590-87
206     C:designate:G94n:CSgb13132=3 ## GB 13131-91
207     C:designate:G94n:I=3 ## CNS 11643 plane 3
208     C:designate:G94n:J=3 ## CNS 11643 plane 4
209     C:designate:G94n:K=3 ## CNS 11643 plane 5
210     C:designate:G94n:L=3 ## CNS 11643 plane 6
211     C:designate:G94n:M=3 ## CNS 11643 plane 7
212     C:designate:G94n:CScns11643_8=3 ## CNS 11643 plane 8
213     C:designate:G94n:CScns11643_9=3 ## CNS 11643 plane 9
214     C:designate:G94n:CScns11643_10=3 ## CNS 11643 plane 10
215     C:designate:G94n:CScns11643_11=3 ## CNS 11643 plane 11
216     C:designate:G94n:CScns11643_12=3 ## CNS 11643 plane 12
217     C:designate:G94n:CScns11643_13=3 ## CNS 11643 plane 13
218     C:designate:G94n:CScns11643_14=3 ## CNS 11643 plane 14
219     C:designate:G94n:CScns11643_15=3 ## CNS 11643 plane 15
220     C:designate:coding_system:default=0
221     Encode:
222     C:GR=undef
223     C:C1=C1:~
224     C:G1=G96:~
225     ->iso2022:C
226     Decode:
227     C:G1=G94n:C
228     <-iso2022:C
229     Description:
230     An ISO/IEC 2022 based 7-bit encoding. Mixture of ISO-2022-JP,
231     ISO-2022-KR, ISO-2022-CN.
232     }
233    
234     {
235     Name:
236     iso-2022-cn
237     Alias:
238     chinese-iso-7bit iso2022cn-gb
239     Cversion:
240     C:bit=7
241     C:G0=G94:B
242     C:designate:*:default=-1
243     C:designate:G94:B=0 ## ASCII
244     C:designate:G94n:A=1 ## GB 2312-80
245     C:designate:G94n:G=1 ## CNS 11643 plane 1
246     C:designate:G94n:H=2 ## CNS 11643 plane 2
247     Encode:
248     C:GR=undef
249     C:C1=C1:~
250     C:G1=G96:~
251     =>ucs_to_ascii ucs_to_gb2312_1980 ucs_to_cns11643_1 ucs_to_cns11643_2
252     ->iso2022:C
253     Decode:
254     <-iso2022:C
255     <=gb2312_1980_to_ucs cns11643_1_to_ucs cns11643_2_to_ucs
256     Description:
257     An ISO/IEC 2022 based 7-bit encoding for Chinese,
258     defined by RFC 1922.
259    
260     This coding system prefers GB 2312-80 (Some people
261     names this as C<iso2022cn-gb>.) when encoding, because
262     Taiwan people mainly use C<Big5>, not CNS 11643.
263     CNS 11643-preferred version is named as C<iso2022cn-cns>.
264     }
265    
266     {
267     Name:
268     iso2022cn-cns
269     Cversion:
270     C:bit=7
271     C:G0=G94:B
272     C:designate:*:default=-1
273     C:designate:G94:B=0 ## ASCII
274     C:designate:G94n:A=1 ## GB 2312-80
275     C:designate:G94n:G=1 ## CNS 11643 plane 1
276     C:designate:G94n:H=2 ## CNS 11643 plane 2
277     Encode:
278     C:GR=undef
279     C:C1=C1:~
280     C:G1=G96:~
281     =>ucs_to_ascii ucs_to_cns11643_1 ucs_to_cns11643_2 ucs_to_gb2312_1980
282     ->iso2022:C
283     Decode:
284     <-iso2022:C
285     <=cns11643_1_to_ucs cns11643_2_to_ucs gb2312_1980_to_ucs
286     Description:
287     An ISO/IEC 2022 based 7-bit encoding for Chinese,
288     defined by RFC 1922.
289     }
290    
291     {
292     Name:
293     iso-2022-cn-ext
294     Cversion:
295     require:private:gb
296     require:private:cns
297     C:bit=7
298     C:G0=G94:B
299     C:designate:*:default=-1
300     C:designate:G94n:A=1 ## GB 2312-80
301     C:designate:G94n:E=1 ## ISO-IR 165
302     C:designate:G94n:G=1 ## CNS 11643 plane 1
303     C:designate:G94n:CSgb12345=1 ## GB 12345-90
304     C:designate:G94n:CSgb7589=2 ## GB 7589-87
305     C:designate:G94n:CSgb13131=2 ## GB 13131-91
306     C:designate:G94n:H=2 ## CNS 11643 plane 2
307     C:designate:G94n:CSgb7590=3 ## GB 7590-87
308     C:designate:G94n:CSgb13132=3 ## GB 13131-91
309     C:designate:G94n:I=3 ## CNS 11643 plane 3
310     C:designate:G94n:J=3 ## CNS 11643 plane 4
311     C:designate:G94n:K=3 ## CNS 11643 plane 5
312     C:designate:G94n:L=3 ## CNS 11643 plane 6
313     C:designate:G94n:M=3 ## CNS 11643 plane 7
314     C:designate:G94n:CScns11643_8=3 ## CNS 11643 plane 8
315     C:designate:G94n:CScns11643_9=3 ## CNS 11643 plane 9
316     C:designate:G94n:CScns11643_10=3 ## CNS 11643 plane 10
317     C:designate:G94n:CScns11643_11=3 ## CNS 11643 plane 11
318     C:designate:G94n:CScns11643_12=3 ## CNS 11643 plane 12
319     C:designate:G94n:CScns11643_13=3 ## CNS 11643 plane 13
320     C:designate:G94n:CScns11643_14=3 ## CNS 11643 plane 14
321     C:designate:G94n:CScns11643_15=3 ## CNS 11643 plane 15
322     Encode:
323     C:GR=undef
324     C:C1=C1:~
325     C:G1=G96:~
326     =>ucs_to_ascii ucs_to_gb2312_1980 ucs_to_iso_ir_165 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
327     ->iso2022:C
328     Decode:
329     <-iso2022:C
330     <=gb2312_1980_to_ucs iso_ir_165_to_ucs 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
331     Description:
332     An ISO/IEC 2022 based 7-bit encoding for Chinese,
333     defined by RFC 1922.
334     }
335    
336     POD:SEE ALSO:
337     L<Encode::ISO2022::JUNET>, L<Encode::ISO2022::JUNETCompatible>
338    
339     POD:LICENSE:
340     Copyright %%YEAR%% Wakaba <w@suika.fam.cx>
341    
342     %%PerlLicense%%

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24