1 |
wakaba |
1.1 |
#?PESRC/1.0 |
2 |
|
|
Name: |
3 |
|
|
ISO2022::EightBit |
4 |
|
|
ShortDescription: |
5 |
|
|
Encode and decode of 8-bit ISO/IEC 2022 based encodings |
6 |
|
|
(except EUCs) |
7 |
|
|
|
8 |
|
|
{ |
9 |
|
|
Name: |
10 |
|
|
iso-2022-8bit-ss2 |
11 |
|
|
Cversion: |
12 |
|
|
use:private:mule |
13 |
|
|
C:bit=8 |
14 |
|
|
C:G0=G94:B ## ASCII |
15 |
|
|
C:designate:G96:default=2 |
16 |
|
|
C:designate:G96n:default=2 |
17 |
|
|
C:option:{G94n_designate_long}=1 |
18 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
19 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
20 |
|
|
C:option:{C1invoke_to_right}=1 |
21 |
wakaba |
1.2 |
Encode:Prepare: |
22 |
wakaba |
1.1 |
C:G1=G96:~ ## empty |
23 |
|
|
C:G2=G96:~ ## empty |
24 |
wakaba |
1.2 |
Encode: |
25 |
wakaba |
1.1 |
->iso2022:C |
26 |
wakaba |
1.2 |
Decode:Prepare: |
27 |
wakaba |
1.1 |
C:G1=G96:A ## ISO/IEC 8859-1 |
28 |
|
|
C:G2=G96:A ## ISO/IEC 8859-1 |
29 |
wakaba |
1.2 |
Decode: |
30 |
wakaba |
1.1 |
<-iso2022:C |
31 |
|
|
Description: |
32 |
|
|
ISO/IEC 2022 based 8-bit encoding using SS2 for 96-charset. |
33 |
|
|
} |
34 |
|
|
|
35 |
|
|
{ |
36 |
|
|
Name: |
37 |
|
|
compound-text |
38 |
|
|
Alias: |
39 |
|
|
compound_text x-compound-text ctext x-ctext ct iso8 |
40 |
|
|
Cversion: |
41 |
|
|
C:bit=8 |
42 |
|
|
C:G0=G94:B ## ASCII |
43 |
|
|
C:designate:C0:default=-1 |
44 |
|
|
C:designate:C1:default=-1 |
45 |
|
|
C:designate:*drcs:default=-1 |
46 |
|
|
C:designate:*private:default=-1 |
47 |
|
|
C:designate:G94:I=1 ## JIS X 0201 Katakana |
48 |
|
|
C:designate:G94n:B@=-1 ## JIS X 0208-1990 |
49 |
|
|
C:designate:G96:default=1 |
50 |
|
|
C:designate:G96n:default=-1 |
51 |
|
|
C:designate:coding_system:0=0 |
52 |
|
|
C:designate:coding_system:1=0 |
53 |
|
|
C:designate:coding_system:2=0 |
54 |
|
|
C:designate:coding_system:3=0 |
55 |
|
|
C:option:{G94n_designate_long}=1 |
56 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
57 |
|
|
C:option:{C1invoke_to_right}=1 |
58 |
|
|
C:option:{reset}->{Ginvoke}=0 |
59 |
|
|
C:option:{use_revision}=0 |
60 |
wakaba |
1.2 |
Encode:Prepare: |
61 |
wakaba |
1.1 |
C:G1=G96:~ ## empty |
62 |
|
|
C:G2=G96:~ ## empty |
63 |
wakaba |
1.2 |
Encode: |
64 |
wakaba |
1.1 |
=>ucs_to_ascii ucs_to_isoiec8859_1 ucs_to_isoiec8859_2 ucs_to_isoiec8859_3 ucs_to_isoiec8859_4 ucs_to_isoiec8859_5 ucs_to_isoiec8859_6 ucs_to_isoiec8859_7 ucs_to_isoiec8859_8 ucs_to_isoiec8859_9 ucs_to_gb2312_1980 ucs_to_jisx0208_1983 ucs_to_ksx1001_1992 ucs_to_jisx0212_1990 ucs_to_jisx0201_latin ucs_to_jisx0201_katakana |
65 |
|
|
->iso2022:C |
66 |
wakaba |
1.2 |
Decode:Prepare: |
67 |
wakaba |
1.1 |
C:G1=G96:A ## ISO/IEC 8859-1 |
68 |
|
|
C:G2=G96:A ## ISO/IEC 8859-1 |
69 |
wakaba |
1.2 |
Decode: |
70 |
wakaba |
1.1 |
<-iso2022:C |
71 |
|
|
<=isoiec8859_2_to_ucs isoiec8859_3_to_ucs isoiec8859_4_to_ucs isoiec8859_5_to_ucs isoiec8859_6_to_ucs isoiec8859_7_to_ucs isoiec8859_8_to_ucs isoiec8859_9_to_ucs gb2312_1980_to_ucs jisx0208_1983_to_ucs ksx1001_1992_to_ucs jisx0212_1990_to_ucs |
72 |
|
|
Description: |
73 |
|
|
ISO/IEC 2022 based 8-bit encoding used in inter-client |
74 |
|
|
communication of X Window System. |
75 |
|
|
} |
76 |
|
|
|
77 |
|
|
{ |
78 |
|
|
Name: |
79 |
|
|
compound-text-xfree86 |
80 |
|
|
Cversion: |
81 |
|
|
C:bit=8 |
82 |
|
|
C:G0=G94:B ## ASCII |
83 |
|
|
C:designate:C0:default=-1 |
84 |
|
|
C:designate:C1:default=-1 |
85 |
|
|
C:designate:*drcs:default=-1 |
86 |
|
|
C:designate:*private:default=-1 |
87 |
|
|
C:designate:G94:I=1 ## JIS X 0201 Katakana |
88 |
|
|
C:designate:G94n:B@=0 ## JIS X 0208-1990 |
89 |
|
|
C:designate:G96:default=1 |
90 |
|
|
C:designate:G96n:default=-1 |
91 |
|
|
C:designate:coding_system:0=0 |
92 |
|
|
C:designate:coding_system:1=0 |
93 |
|
|
C:designate:coding_system:2=0 |
94 |
|
|
C:designate:coding_system:3=0 |
95 |
|
|
C:designate:coding_system:@=0 ## ISO/IEC 2022 |
96 |
|
|
C:designate:coding_system:G=0 ## UTF-8 |
97 |
|
|
C:option:{G94n_designate_long}=1 |
98 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
99 |
|
|
C:option:{C1invoke_to_right}=1 |
100 |
|
|
C:option:{reset}->{Ginvoke}=0 |
101 |
|
|
C:option:{use_revision}=0 |
102 |
wakaba |
1.2 |
Encode:Prepare: |
103 |
wakaba |
1.1 |
C:G1=G96:~ ## empty |
104 |
|
|
C:G2=G96:~ ## empty |
105 |
wakaba |
1.2 |
Encode: |
106 |
wakaba |
1.1 |
=>ucs_to_ascii ucs_to_isoiec8859_1 ucs_to_isoiec8859_2 ucs_to_isoiec8859_3 ucs_to_isoiec8859_4 ucs_to_isoiec8859_5 ucs_to_isoiec8859_6 ucs_to_isoiec8859_7 ucs_to_isoiec8859_8 ucs_to_isoiec8859_9 ucs_to_gb2312_1980 ucs_to_jisx0208_1983 ucs_to_ksx1001_1992 ucs_to_jisx0212_1990 ucs_to_jisx0201_latin ucs_to_jisx0201_katakana |
107 |
|
|
->iso2022:C |
108 |
wakaba |
1.2 |
Decode:Prepare: |
109 |
wakaba |
1.1 |
C:G1=G96:A ## ISO/IEC 8859-1 |
110 |
|
|
C:G2=G96:A ## ISO/IEC 8859-1 |
111 |
wakaba |
1.2 |
Decode: |
112 |
wakaba |
1.1 |
<-iso2022:C |
113 |
|
|
<=isoiec8859_2_to_ucs isoiec8859_3_to_ucs isoiec8859_4_to_ucs isoiec8859_5_to_ucs isoiec8859_6_to_ucs isoiec8859_7_to_ucs isoiec8859_8_to_ucs isoiec8859_9_to_ucs gb2312_1980_to_ucs jisx0208_1983_to_ucs ksx1001_1992_to_ucs jisx0212_1990_to_ucs |
114 |
|
|
Description: |
115 |
|
|
ISO/IEC 2022 based 8-bit encoding used in inter-client |
116 |
|
|
communication of XFree86. |
117 |
|
|
|
118 |
|
|
This coding system is upper-compatible version of X |
119 |
|
|
Window System (original)'s Compound Text. It allows |
120 |
|
|
UTF-8 embeding. See |
121 |
|
|
<http://cvsweb.xfree86.org/cvsweb/xc/doc/specs/CTEXT/ctext.tbl.ms>. |
122 |
|
|
} |
123 |
|
|
|
124 |
|
|
{ |
125 |
|
|
Name: |
126 |
|
|
x-ctext |
127 |
|
|
Cversion: |
128 |
|
|
C:bit=8 |
129 |
|
|
C:G0=G94:B ## ASCII |
130 |
|
|
C:designate:C0:default=-1 |
131 |
|
|
C:designate:C1:default=-1 |
132 |
|
|
C:designate:*drcs:default=-1 |
133 |
|
|
C:designate:G94:I=1 ## JIS X 0201 Katakana |
134 |
|
|
C:designate:G96:default=1 |
135 |
|
|
C:designate:G96n:default=-1 |
136 |
|
|
C:option:{G94n_designate_long}=1 |
137 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
138 |
|
|
C:option:{C1invoke_to_right}=1 |
139 |
|
|
C:option:{reset}->{Ginvoke}=0 |
140 |
wakaba |
1.2 |
Encode:Prepare: |
141 |
wakaba |
1.1 |
C:G1=G96:~ ## empty |
142 |
|
|
C:G2=G96:~ ## empty |
143 |
wakaba |
1.2 |
Encode: |
144 |
wakaba |
1.1 |
=>ucs_to_ascii ucs_to_isoiec8859_1 ucs_to_isoiec8859_2 ucs_to_isoiec8859_3 ucs_to_isoiec8859_4 ucs_to_isoiec8859_5 ucs_to_isoiec8859_6 ucs_to_isoiec8859_7 ucs_to_isoiec8859_8 ucs_to_isoiec8859_9 ucs_to_gb2312_1980 ucs_to_jisx0208_1983 ucs_to_ksx1001_1992 ucs_to_jisx0212_1990 ucs_to_jisx0213_2000_1 ucs_to_jisx0213_2000_2 ucs_to_jisx0208_1990 ucs_to_jisx0208_1978 ucs_to_jisx0201_latin ucs_to_jisx0201_katakana |
145 |
|
|
->iso2022:C |
146 |
wakaba |
1.2 |
Decode:Prepare: |
147 |
wakaba |
1.1 |
C:G1=G96:A ## ISO/IEC 8859-1 |
148 |
|
|
C:G2=G96:A ## ISO/IEC 8859-1 |
149 |
wakaba |
1.2 |
Decode: |
150 |
wakaba |
1.1 |
<-iso2022:C |
151 |
|
|
<=isoiec8859_2_to_ucs isoiec8859_3_to_ucs isoiec8859_4_to_ucs isoiec8859_5_to_ucs isoiec8859_6_to_ucs isoiec8859_7_to_ucs isoiec8859_8_to_ucs isoiec8859_9_to_ucs gb2312_1980_to_ucs jisx0208_1983_to_ucs ksx1001_1992_to_ucs jisx0212_1990_to_ucs jisx0208_1990_to_ucs jisx0213_2000_1_to_ucs jisx0213_2000_2_to_ucs jisx0208_1978_to_ucs |
152 |
|
|
Description: |
153 |
|
|
ISO/IEC 2022 based 8-bit encoding used in emacsen community. |
154 |
|
|
This coding system is almost compatible with X Window System's |
155 |
|
|
Compound Text but it allows private coded character sets |
156 |
|
|
and 96^n coded character sets. |
157 |
|
|
|
158 |
|
|
See [mule-jp:7455] <mid:rsqsoa5s2hr.fsf@crane.jaist.ac.jp> and |
159 |
|
|
[mule-jp:7457] <mid:rsq4smlky85.fsf@crane.jaist.ac.jp>. |
160 |
|
|
} |
161 |
|
|
|
162 |
|
|
POD:SEE ALSO: |
163 |
|
|
L<Encode::ISO2022>, L<Encode::ISO2022::EUCJA>, |
164 |
|
|
L<Encode::ISO2022::EUCKR>, L<Encode::ISO2022::EUCZH>. |
165 |
|
|
POD:LICENSE: |
166 |
|
|
Copyright %%YEAR%% Wakaba <w@suika.fam.cx>. |
167 |
|
|
|
168 |
|
|
%%PerlLicense%% |