/[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.2 - (show annotations) (download)
Mon Dec 16 10:25:01 2002 UTC (21 years, 11 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +19 -9 lines
*** empty log message ***

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24