| 1 |
wakaba |
1.1 |
#?PESRC/1.0 |
| 2 |
|
|
Name: |
| 3 |
|
|
ISO2022::EUCJA |
| 4 |
|
|
ShortDescription: |
| 5 |
|
|
An Encode module of EUC (8-bit ISO/IEC 2022 |
| 6 |
|
|
based coding system) for Japanese |
| 7 |
|
|
|
| 8 |
|
|
{ |
| 9 |
|
|
Name: |
| 10 |
|
|
euc-japan-1978 |
| 11 |
|
|
Alias: |
| 12 |
|
|
euc-jp-1978 euc-japan-1978 |
| 13 |
|
|
Cversion: |
| 14 |
|
|
C:bit=8 |
| 15 |
|
|
C:G0=G94:B ## ASCII |
| 16 |
|
|
C:G1=G94n:@ ## JIS X 0208-1978 |
| 17 |
|
|
C:G2=G94:I ## JIS X 0201 Katakana |
| 18 |
|
|
C:G3=G94n:D ## JIS X 0212-1990 |
| 19 |
|
|
C:designate:*:default=-1 |
| 20 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
| 21 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
| 22 |
|
|
C:option:{C1invoke_to_right}=1 |
| 23 |
|
|
C:option:{reset}->{Gdesignation}=0 |
| 24 |
|
|
C:option:{reset}->{Ginvoke}=0 |
| 25 |
|
|
C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => '@'}] |
| 26 |
wakaba |
1.2 |
Encode:Prepare: |
| 27 |
|
|
C:G3=G94n:~ |
| 28 |
wakaba |
1.1 |
Encode: |
| 29 |
|
|
=>ucs_to_ascii ucs_to_jisx0208_1978 ucs_to_jisx0201_katakana |
| 30 |
|
|
->iso2022:C |
| 31 |
|
|
Decode: |
| 32 |
|
|
<-iso2022:C |
| 33 |
|
|
<=jisx0208_1978_to_ucs jisx0201_katakana_to_ucs |
| 34 |
|
|
Description: |
| 35 |
|
|
EUC (ISO/IEC 2022 based 8-bit encoding) for Japanese |
| 36 |
|
|
with JIS X 0208 (JIS C 6226)-1978. |
| 37 |
|
|
|
| 38 |
|
|
Note that although EUC is not exist on 78JIS days, |
| 39 |
|
|
there is variant of EUC-japan that uses JIS X 0208-1978 |
| 40 |
|
|
as CS1 because 78JIS implemention does not extinct yet. |
| 41 |
|
|
|
| 42 |
|
|
New implementors are warned that this coding system |
| 43 |
|
|
SHOULD NOT be used to create new data. |
| 44 |
|
|
} |
| 45 |
|
|
|
| 46 |
|
|
{ |
| 47 |
|
|
Name: |
| 48 |
|
|
euc-japan-1983 |
| 49 |
|
|
Alias: |
| 50 |
|
|
ujis x-ujis euc-jp-1983 euc-japan-1983 |
| 51 |
|
|
|
| 52 |
|
|
deckanji |
| 53 |
|
|
Cversion: |
| 54 |
|
|
C:bit=8 |
| 55 |
|
|
C:G0=G94:B ## ASCII |
| 56 |
|
|
C:G1=G94n:B ## JIS X 0208-1990/:1997 |
| 57 |
|
|
C:G2=G94:I ## JIS X 0201 Katakana |
| 58 |
|
|
C:G3=G94n: @ ## gaiji (reserved) |
| 59 |
|
|
C:designate:*:default=-1 |
| 60 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
| 61 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
| 62 |
|
|
C:option:{C1invoke_to_right}=1 |
| 63 |
|
|
C:option:{reset}->{Gdesignation}=0 |
| 64 |
|
|
C:option:{reset}->{Ginvoke}=0 |
| 65 |
|
|
C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B'}] |
| 66 |
|
|
Encode: |
| 67 |
|
|
=>ucs_to_ascii ucs_to_jisx0208_1983 ucs_to_jisx0201_katakana |
| 68 |
|
|
->iso2022:C |
| 69 |
|
|
Decode: |
| 70 |
|
|
<-iso2022:C |
| 71 |
|
|
<=jisx0208_1983_to_ucs jisx0201_katakana_to_ucs |
| 72 |
|
|
Description: |
| 73 |
|
|
EUC (ISO/IEC 2022 based 8-bit encoding) for Japanese |
| 74 |
|
|
with JIS X 0208 (JIS C 6226)-1983 |
| 75 |
|
|
(obsoleted definition of pre-1990 days). |
| 76 |
|
|
|
| 77 |
|
|
This coding system is also known as UJIS. |
| 78 |
|
|
} |
| 79 |
|
|
|
| 80 |
|
|
{ |
| 81 |
|
|
Name: |
| 82 |
|
|
euc-japan-1997 |
| 83 |
|
|
Alias: |
| 84 |
|
|
euc-japan-1990 euc-jp-1990 |
| 85 |
|
|
euc-jp-1997 |
| 86 |
|
|
euc-japan euc-jp euc-j eucjp euc_jp x-euc-jp x-eucjp eucjis euc-jis eucj Extended_UNIX_Code_Packed_Format_for_Japanese csEUCPkdFmtJapanese eujis japanese-iso-8bit cp51932 japanese_euc |
| 87 |
|
|
|
| 88 |
|
|
ibm-eucjp cp33722 33722 sdeckanji |
| 89 |
|
|
Cversion: |
| 90 |
|
|
C:bit=8 |
| 91 |
|
|
C:G0=G94:B ## ASCII |
| 92 |
|
|
C:G1=G94n:B@ ## JIS X 0208-1990/:1997 |
| 93 |
|
|
C:G2=G94:I ## JIS X 0201 Katakana |
| 94 |
|
|
C:G3=G94n:D ## JIS X 0212-1990 |
| 95 |
|
|
C:designate:*:default=-1 |
| 96 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
| 97 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
| 98 |
|
|
C:option:{C1invoke_to_right}=1 |
| 99 |
|
|
C:option:{reset}->{Gdesignation}=0 |
| 100 |
|
|
C:option:{reset}->{Ginvoke}=0 |
| 101 |
wakaba |
1.3 |
C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'B', revision => '@'}] |
| 102 |
wakaba |
1.1 |
Encode: |
| 103 |
|
|
=>ucs_to_ascii ucs_to_jisx0208_1990 ucs_to_jisx0212_1990 ucs_to_jisx0201_katakana |
| 104 |
|
|
->iso2022:C |
| 105 |
|
|
Decode: |
| 106 |
|
|
<-iso2022:C |
| 107 |
|
|
<=jisx0208_1990_to_ucs jisx0212_1990_to_ucs jisx0201_katakana_to_ucs |
| 108 |
|
|
Description: |
| 109 |
|
|
EUC (ISO/IEC 2022 based 8-bit encoding) for Japanese |
| 110 |
|
|
with JIS X 0208-1990/:1997. |
| 111 |
|
|
} |
| 112 |
|
|
|
| 113 |
|
|
{ |
| 114 |
|
|
Name: |
| 115 |
|
|
euc-jisx0213 |
| 116 |
|
|
Alias: |
| 117 |
|
|
euc-jisx0213 x-euc-jisx0213 euc_jisx0213 eucjp0213 euc0213 euc-jp-3 euc-japan-2000 euc-jp-2000 |
| 118 |
|
|
|
| 119 |
|
|
x-euc-jisx0213-packed deckanji2000 |
| 120 |
|
|
Cversion: |
| 121 |
|
|
C:bit=8 |
| 122 |
|
|
C:G0=G94:B ## ASCII |
| 123 |
|
|
C:G1=G94n:O ## JIS X 0213:2000 plane 1 |
| 124 |
|
|
C:G2=G94:I ## JIS X 0201 Katakana |
| 125 |
|
|
C:G3=G94n:P ## JIS X 0213:2000 plane 2 |
| 126 |
|
|
C:designate:*:default=-1 |
| 127 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
| 128 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
| 129 |
|
|
C:option:{C1invoke_to_right}=1 |
| 130 |
|
|
C:option:{reset}->{Gdesignation}=0 |
| 131 |
|
|
C:option:{reset}->{Ginvoke}=0 |
| 132 |
|
|
C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}] |
| 133 |
|
|
Encode: |
| 134 |
|
|
=>ucs_to_ascii ucs_to_jisx0213_2000_1 ucs_to_jisx0213_2000_2 ucs_to_jisx0201_katakana |
| 135 |
|
|
->iso2022:C |
| 136 |
|
|
Decode: |
| 137 |
|
|
<-iso2022:C |
| 138 |
|
|
<=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0201_katakana_to_ucs |
| 139 |
|
|
Description: |
| 140 |
|
|
EUC (ISO/IEC 2022 based 8-bit encoding) for Japanese |
| 141 |
|
|
with JIS X 0213:2000, defined by JIS X 0213:2000. |
| 142 |
|
|
} |
| 143 |
|
|
|
| 144 |
|
|
{ |
| 145 |
|
|
Name: |
| 146 |
|
|
euc-jisx0213-plane1 |
| 147 |
|
|
Cversion: |
| 148 |
|
|
C:bit=8 |
| 149 |
|
|
C:G0=G94:B ## ASCII |
| 150 |
|
|
C:G1=G94n:O ## JIS X 0213:2000 plane 1 |
| 151 |
|
|
C:G2=G94:I ## JIS X 0201 Katakana |
| 152 |
|
|
C:G3=G94n:P ## JIS X 0213:2000 plane 2 |
| 153 |
|
|
C:designate:*:default=-1 |
| 154 |
|
|
C:option:{Ginvoke_to_left}=[1,0,0,0] |
| 155 |
|
|
C:option:{Ginvoke_by_single_shift}=[0,0,1,1] |
| 156 |
|
|
C:option:{C1invoke_to_right}=1 |
| 157 |
|
|
C:option:{reset}->{Gdesignation}=0 |
| 158 |
|
|
C:option:{reset}->{Ginvoke}=0 |
| 159 |
|
|
C:option:{undef_char}=["\x22\x2E", {type => 'G94n', charset => 'O'}] |
| 160 |
wakaba |
1.2 |
Encode:Prepare: |
| 161 |
|
|
C:G3=G94n:~ ## empty |
| 162 |
wakaba |
1.1 |
Encode: |
| 163 |
|
|
=>ucs_to_ascii ucs_to_jisx0213_2000_1 ucs_to_jisx0201_katakana |
| 164 |
|
|
->iso2022:C |
| 165 |
|
|
Decode: |
| 166 |
|
|
<-iso2022:C |
| 167 |
|
|
<=jisx0213_2000_1_to_ucs jisx0212_0213_to_ucs jisx0201_katakana_to_ucs |
| 168 |
|
|
Description: |
| 169 |
|
|
EUC (ISO/IEC 2022 based 8-bit encoding) for Japanese |
| 170 |
|
|
with JIS X 0213:2000 plane 1, defined by JIS X 0213:2000. |
| 171 |
|
|
} |
| 172 |
|
|
|
| 173 |
|
|
POD:SEE ALSO: |
| 174 |
|
|
%%ReferenceJISX0208_1978%% |
| 175 |
|
|
|
| 176 |
|
|
%%ReferenceJISX0208_1983%% |
| 177 |
|
|
|
| 178 |
|
|
%%ReferenceJISX0208_1990%% |
| 179 |
|
|
|
| 180 |
|
|
%%ReferenceJISX0208_1997%% |
| 181 |
|
|
|
| 182 |
|
|
%%ReferenceJISX0213_2000%% |
| 183 |
|
|
|
| 184 |
|
|
L<Encode::ISO2022>, L<Encode::ISO2022::EUCJACompatible> |
| 185 |
|
|
|
| 186 |
|
|
"UI-OSF Application Platform Profile for Japanese Environment |
| 187 |
|
|
Version 1.1", UI-OSF Japanese Localization Group, 1993-05-21. |
| 188 |
|
|
<http://www.li18nux.org/~numa/uocjle-a4.pdf> (In Japanese) |
| 189 |
|
|
or <http://www.li18nux.org/~numa/uocjleE.pdf> (In English). |
| 190 |
|
|
|
| 191 |
|
|
"OSF/JVC Recommended Code Set Conversion Specification |
| 192 |
|
|
between Japanese EUC and Shift-JIS, and |
| 193 |
|
|
Survey on Actual Situation of Japanese Code Sets", |
| 194 |
|
|
OSF/JVC CDE/Motif Technical WG, 1996-01-19. |
| 195 |
|
|
<http://www.opengroup.or.jp/jvc/cde/sjis-euc.html> (In Japanese) |
| 196 |
|
|
or <http://www.opengroup.or.jp/jvc/cde/sjis-euc-e.html> (In English). |
| 197 |
|
|
|
| 198 |
|
|
"Problems and Solutions for Unicode and User/Vendor Defined Characters", |
| 199 |
|
|
TOG/JVC CDE/Motif Technical WG, 1996-10-25. |
| 200 |
|
|
<http://www.opengroup.or.jp/jvc/cde/ucs-conv.html> (In Japanese) |
| 201 |
|
|
or <http://www.opengroup.or.jp/jvc/cde/ucs-conv-e.html> (In English). |
| 202 |
|
|
|
| 203 |
|
|
POD:LICENSE: |
| 204 |
|
|
Copyright %%YEAR%% Wakaba <w@suika.fam.cx> |
| 205 |
|
|
|
| 206 |
|
|
%%PerlLicense%% |