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

Contents of /perl/lib/Encode/ISO2022/JUNET.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::JUNET
4     ShortDescription:
5     An Encode module of 7-bit ISO/IEC 2022
6     based coding systems, developed in JUNET
7    
8     {
9     Name:
10     junet
11     Alias:
12     iso-2022-7bit iso-2022-7 jis jis7 7bit-jis
13     Cversion:
14     C:bit=7
15     C:G0=G94:B
16     C:designate:*:default=0
17     C:designate:coding_system:default=0
18     Encode:
19     C:GR=undef
20     C:C1=C1:~
21     C:G1=G96:~
22     ->iso2022:C
23     Decode:
24     <-iso2022:C
25     Description:
26     ISO/IEC 2022 based 7-bit encoding using only G0
27     }
28    
29     {
30     Name:
31     iso-2022-jp
32     Alias:
33     junet-code japanese-iso-7bit csiso2022jp iso2022jp rfc1468
34     Cversion:
35     C:bit=7
36     C:G0=G94:B
37     C:designate:*:default=-1
38     C:designate:G94:B=0 ## ASCII
39     C:designate:G94:J=0 ## JIS X 0201 Roman
40     C:designate:G94n:@=0 ## JIS X 0208-1978
41     C:designate:G94n:B=0 ## JIS X 0208-1983
42     C:designate:G94n:B@=0 ## JIS X 0208-1990
43     C:option:{use_revision}=0
44     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B'}]
45     Encode:
46     C:GR=undef
47     C:C1=C1:~
48     C:G1=G96:~
49     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0208_1978 ucs_to_jisx0201_latin
50     ->iso2022:C
51     Decode:
52     <-iso2022:C
53     <=jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
54     Description:
55     ISO/IEC 2022 based 7-bit encoding for Japanese.
56    
57     This coding system is defined by Junet no tebiki,
58     RFC 1468, JIS X 0208:1997 Appendix 2 and bis1468
59     (an expired Internet Draft).
60     }
61    
62     {
63     Name:
64     iso-2022-jp-1978-irv
65     Alias:
66     japanese-iso-7bit-1978-irv old-jis x-obsoleted-iso-2022-jp jis78
67     Cversion:
68     C:bit=7
69     C:G0=G94:B
70     C:designate:*:default=-1
71     C:designate:G94:B=0 ## ASCII
72     C:designate:G94:J=0 ## JIS X 0201 Roman
73     C:designate:G94n:@=0 ## JIS X 0208-1978
74     C:designate:G94n:B=0 ## JIS X 0208-1983
75     C:designate:G94n:B@=0 ## JIS X 0208-1990
76     C:option:{use_revision}=0
77     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => '@'}]
78     Encode:
79     C:GR=undef
80     C:C1=C1:~
81     C:G1=G96:~
82     =>ucs_to_ascii ucs_to_jisx0208_1978 ucs_to_jisx0208_1983 ucs_to_jisx0201_latin
83     ->iso2022:C
84     Decode:
85     <-iso2022:C
86     <=jisx0208_1978_to_ucs jisx0208_1983_to_ucs jisx0201_latin_to_ucs
87     Description:
88     ISO/IEC 2022 based 7-bit encoding for Japanese,
89     using JIS X 0208-1978.
90    
91     This coding system is same as C<iso-2022-jp>,
92     but this preferrs JIS X 0208-1978 to -1983.
93     }
94    
95     {
96     Name:
97     less-jis
98     Cversion:
99     C:bit=7
100     C:G0=G94:B
101     C:designate:*:default=-1
102     C:designate:G94:B=0 ## ASCII
103     C:designate:G94:I=0 ## JIS X 0201 Katakana
104     C:designate:G94:J=0 ## JIS X 0201 Roman
105     C:designate:G94n:B=0 ## JIS X 0208-1983
106     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B'}]
107     Encode:
108     C:GR=undef
109     C:C1=C1:~
110     C:G1=G96:~
111     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0201_latin ucs_to_jisx0201_katakana
112     ->iso2022:C
113     Decode:
114     <-iso2022:C
115     <=jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0208_1997_to_ucs jisx0201_latin_to_ucs jisx0201_katakana_to_ucs
116     Description:
117     ISO/IEC 2022 based 7-bit encoding for Japanese.
118    
119     For more information, see
120     <http://www.io.com/~kazushi/less/README.iso.jp> (in Japanese)
121     or <http://www.io.com/~kazushi/less/README.iso> (In English).
122     }
123    
124     {
125     Name:
126     iso-2022-jp-1
127     Alias:
128     iso2022jp-1 iso-2022-jp1
129     Cversion:
130     C:bit=7
131     C:G0=G94:B
132     C:designate:*:default=-1
133     C:designate:G94:B=0 ## ASCII
134     C:designate:G94:J=0 ## JIS X 0201 Roman
135     C:designate:G94n:@=0 ## JIS X 0208-1978
136     C:designate:G94n:B=0 ## JIS X 0208-1983
137     C:designate:G94n:D=0 ## JIS X 0212-1990
138     C:option:{use_revision}=0
139     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B'}]
140     Encode:
141     C:GR=undef
142     C:C1=C1:~
143     C:G1=G96:~
144     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0212_1990 ucs_to_jisx0208_1978 ucs_to_jisx0201_latin
145     ->iso2022:C
146     Decode:
147     <-iso2022:C
148     <=jisx0208_1983_to_ucs jisx0212_1990_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
149     Description:
150     ISO/IEC 2022 based 7-bit encoding for Japanese,
151     defined by RFC 2237.
152    
153     You should note that this coding system is not so widely
154     supported. C<iso-2022-jp-2>, a superset of this coding
155     system, is even more widely supported.
156     }
157    
158     {
159     Name:
160     iso-2022-jp-3
161     Alias:
162     x-iso-2022-jp-3 iso2022jp-3 iso-2022-jp3
163     jisx0213 jis0213
164     Cversion:
165     C:bit=7
166     C:G0=G94:B
167     C:designate:*:default=-1
168     C:designate:G94:B=0 ## ASCII
169     C:designate:G94n:B=0 ## subset of JIS X 0213:2000 plane 1
170     C:designate:G94n:O=0 ## JIS X 0213:2000 plane 1
171     C:designate:G94n:P=0 ## JIS X 0213:2000 plane 2
172     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}]
173     Encode:
174     C:GR=undef
175     C:C1=C1:~
176     C:G1=G96:~
177     =>ucs_to_ascii ucs_to_jisx0213_2000_1 ucs_to_jisx0213_2000_2
178     ->iso2022:C
179     Decode:
180     <-iso2022:C
181     <=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
182     Description:
183     ISO/IEC 2022 based 7-bit encoding for Japanese,
184     defined by JIS X 0213:2000 Appendix 2.
185     }
186    
187     {
188     Name:
189     iso-2022-jp-3-strict
190     Cversion:
191     C:bit=7
192     C:G0=G94:B
193     C:designate:*:default=-1
194     C:designate:G94:B=0 ## ASCII
195     C:designate:G94n:B=0 ## subset of JIS X 0213:2000 plane 1
196     C:designate:G94n:O=0 ## JIS X 0213:2000 plane 1
197     C:designate:G94n:P=0 ## JIS X 0213:2000 plane 2
198     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}]
199     Encode:
200     C:GR=undef
201     C:C1=C1:~
202     C:G1=G96:~
203     =>ucs_to_ascii ucs_to_jisx0213_2000_1_esc_24_42 ucs_to_jisx0213_2000_1 ucs_to_jisx0213_2000_2
204     ->iso2022:C
205     Decode:
206     <-iso2022:C
207     <=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
208     Description:
209     ISO/IEC 2022 based 7-bit encoding for Japanese.
210    
211     This coding system is a subset of C<iso-2022-jp-3>.
212     See <http://www.m17n.org/m17n2000_all_but_registration/proceedings/kawabata/jisx0213.html>
213     for more information.
214     }
215    
216     {
217     Name:
218     iso-2022-jp-3-compatible
219     Cversion:
220     C:bit=7
221     C:G0=G94:B
222     C:designate:*:default=-1
223     C:designate:G94:B=0 ## ASCII
224     C:designate:G94n:B=0 ## subset of JIS X 0213:2000 plane 1
225     C:designate:G94n:O=0 ## JIS X 0213:2000 plane 1
226     C:designate:G94n:P=0 ## JIS X 0213:2000 plane 2
227     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}]
228     Encode:
229     C:GR=undef
230     C:C1=C1:~
231     C:G1=G96:~
232     =>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0213_2000_1 ucs_to_jisx0213_2000_2
233     ->iso2022:C
234     Decode:
235     <-iso2022:C
236     <=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
237     Description:
238     ISO/IEC 2022 based 7-bit encoding for Japanese.
239    
240     See <http://www.m17n.org/m17n2000_all_but_registration/proceedings/kawabata/jisx0213.html>
241     for more information.
242     }
243    
244     {
245     Name:
246     iso-2022-jp-3-plane1
247     Cversion:
248     C:bit=7
249     C:G0=G94:B
250     C:designate:*:default=-1
251     C:designate:G94:B=0 ## ASCII
252     C:designate:G94n:B=0 ## subset of JIS X 0213:2000 plane 1
253     C:designate:G94n:O=0 ## JIS X 0213:2000 plane 1
254     C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}]
255     Encode:
256     C:GR=undef
257     C:C1=C1:~
258     C:G1=G96:~
259     =>ucs_to_ascii ucs_to_jisx0213_2000_1
260     ->iso2022:C
261     Decode:
262     <-iso2022:C
263     <=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0208_1983_to_ucs jisx0208_1978_to_ucs jisx0201_latin_to_ucs
264     Description:
265     ISO/IEC 2022 based 7-bit encoding for Japanese,
266     defined by JIS X 0213:2000 Appendix 2.
267     }
268    
269     POD:SEE ALSO:
270     %%ReferenceJISX0208_1997%%
271    
272     %%ReferenceJISX0213_2000%%
273    
274     %%ReferenceRFC1468%%
275    
276     L<Encode::ISO2022::SevenBit>
277     (C<iso-2022-jp-2> and C<iso-2022-int> are defined in
278     this module.)
279    
280     POD:LICENSE:
281     Copyright %%YEAR%% Wakaba <w@suika.fam.cx>
282    
283     %%PerlLicense%%

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24