<s>
Extended	B-Protocol
Unix	B-Application
Code	O
(	O
EUC	O
)	O
is	O
a	O
multibyte	O
character	B-General_Concept
encoding	I-General_Concept
system	I-General_Concept
used	O
primarily	O
for	O
Japanese	O
,	O
Korean	O
,	O
and	O
simplified	O
Chinese	O
.	O
</s>
<s>
The	O
most	O
commonly	O
used	O
EUC	O
codes	O
are	O
variable-length	O
encodings	O
with	O
a	O
character	O
belonging	O
to	O
an	O
compliant	O
coded	B-General_Concept
character	I-General_Concept
set	I-General_Concept
(	O
such	O
as	O
ASCII	B-Protocol
)	O
taking	O
one	O
byte	O
,	O
and	O
a	O
character	O
belonging	O
to	O
a	O
94x94	O
coded	B-General_Concept
character	I-General_Concept
set	I-General_Concept
(	O
such	O
as	O
)	O
represented	O
in	O
two	O
bytes	O
.	O
</s>
<s>
The	O
structure	O
of	O
EUC	O
is	O
based	O
on	O
the	O
standard	O
,	O
which	O
specifies	O
a	O
system	O
of	O
graphical	O
character	B-General_Concept
sets	I-General_Concept
that	O
can	O
be	O
represented	O
with	O
a	O
sequence	O
of	O
the	O
94	O
7-bit	O
bytes	O
0x21	O
–	O
7E	O
,	O
or	O
alternatively	O
0xA1	O
–	O
FE	O
if	O
an	O
eighth	O
bit	O
is	O
available	O
.	O
</s>
<s>
As	O
such	O
,	O
only	O
compliant	O
character	B-General_Concept
sets	I-General_Concept
can	O
have	O
EUC	O
forms	O
.	O
</s>
<s>
Up	O
to	O
four	O
coded	B-General_Concept
character	I-General_Concept
sets	I-General_Concept
(	O
referred	O
to	O
as	O
G0	O
,	O
G1	O
,	O
G2	O
,	O
and	O
G3	O
or	O
as	O
code	B-General_Concept
sets	I-General_Concept
0	O
,	O
1	O
,	O
2	O
,	O
and	O
3	O
)	O
can	O
be	O
represented	O
with	O
the	O
EUC	O
scheme	O
.	O
</s>
<s>
The	O
G0	O
set	O
is	O
set	O
to	O
an	O
compliant	O
coded	B-General_Concept
character	I-General_Concept
set	I-General_Concept
such	O
as	O
US-ASCII	B-Protocol
,	O
(	O
)	O
or	O
(	O
the	O
lower	B-General_Concept
half	I-General_Concept
of	O
)	O
and	O
invoked	O
over	O
GL	O
(	O
i.e.	O
</s>
<s>
If	O
US-ASCII	B-Protocol
is	O
used	O
,	O
this	O
makes	O
the	O
code	O
an	O
extended	B-Protocol
ASCII	I-Protocol
encoding	O
;	O
the	O
most	O
common	O
deviation	O
from	O
US-ASCII	B-Protocol
is	O
that	O
0x5C	O
(	O
backslash	O
in	O
US-ASCII	B-Protocol
)	O
is	O
often	O
used	O
to	O
represent	O
a	O
Yen	O
sign	O
in	O
EUC-JP	O
(	O
see	O
below	O
)	O
and	O
a	O
won	O
sign	O
in	O
EUC-KR	O
.	O
</s>
<s>
The	O
other	O
code	B-General_Concept
sets	I-General_Concept
are	O
invoked	O
over	O
GR	O
(	O
i.e.	O
</s>
<s>
Hence	O
,	O
to	O
get	O
the	O
EUC	O
form	O
of	O
a	O
character	O
,	O
the	O
most	O
significant	O
bit	O
of	O
each	O
coding	O
byte	O
is	O
set	O
(	O
equivalent	O
to	O
adding	O
128	O
to	O
each	O
7-bit	O
coding	O
byte	O
,	O
or	O
adding	O
160	O
to	O
each	O
number	O
in	O
the	O
kuten	O
code	O
)	O
;	O
this	O
allows	O
the	O
software	O
to	O
easily	O
distinguish	O
whether	O
a	O
particular	O
byte	O
in	O
a	O
character	O
string	O
belongs	O
to	O
the	O
code	O
or	O
the	O
extended	B-Protocol
code	O
.	O
</s>
<s>
Characters	O
in	O
code	B-General_Concept
sets	I-General_Concept
2	O
and	O
3	O
are	O
prefixed	O
with	O
the	O
control	O
codes	O
(	O
0x8E	O
)	O
and	O
(	O
0x8F	O
)	O
respectively	O
,	O
and	O
invoked	O
over	O
GR	O
.	O
</s>
<s>
Besides	O
the	O
initial	O
shift	O
code	O
,	O
any	O
byte	O
outside	O
of	O
the	O
range	O
0xA0	O
–	O
0xFF	O
appearing	O
in	O
a	O
character	O
from	O
code	B-General_Concept
sets	I-General_Concept
1	O
through	O
3	O
is	O
not	O
a	O
valid	O
EUC	O
code	O
.	O
</s>
<s>
Code	B-General_Concept
set	I-General_Concept
0	O
as	O
two	O
bytes	O
in	O
the	O
range	O
0x21	O
–	O
0x7E	O
(	O
except	O
that	O
the	O
first	O
may	O
be	O
0x00	O
)	O
.	O
</s>
<s>
Code	B-General_Concept
set	I-General_Concept
1	O
as	O
two	O
bytes	O
in	O
the	O
range	O
0xA0	O
–	O
0xFF	O
(	O
except	O
that	O
the	O
first	O
may	O
be	O
0x80	O
)	O
.	O
</s>
<s>
Code	B-General_Concept
set	I-General_Concept
2	O
as	O
a	O
byte	O
in	O
the	O
range	O
0x21	O
–	O
0x7E	O
(	O
or	O
0x00	O
)	O
followed	O
by	O
a	O
byte	O
in	O
the	O
range	O
0xA0	O
–	O
0xFF	O
.	O
</s>
<s>
Code	B-General_Concept
set	I-General_Concept
3	O
as	O
a	O
byte	O
in	O
the	O
range	O
0xA0	O
–	O
0xFF	O
(	O
or	O
0x80	O
)	O
followed	O
by	O
a	O
byte	O
in	O
the	O
range	O
0x21	O
–	O
0x7E	O
.	O
</s>
<s>
Initial	O
bytes	O
of	O
0x00	O
and	O
0x80	O
are	O
used	O
in	O
cases	O
where	O
the	O
code	B-General_Concept
set	I-General_Concept
uses	O
only	O
one	O
byte	O
.	O
</s>
<s>
Only	O
the	O
packed	O
format	O
is	O
included	O
in	O
the	O
WHATWG	B-Language
Encoding	O
Standard	O
used	O
by	O
HTML5	B-Application
.	O
</s>
<s>
Unlike	O
the	O
case	O
of	O
Japanese	O
JIS	O
X	O
0208	O
and	O
ISO-2022-JP	O
,	O
is	O
not	O
normally	O
used	O
in	O
a	O
7-bit	O
code	O
version	O
,	O
although	O
a	O
variant	O
form	O
called	O
HZ	O
(	O
which	O
delimits	O
text	O
with	O
ASCII	B-Protocol
sequences	O
)	O
was	O
sometimes	O
used	O
on	O
USENET	B-Application
.	O
</s>
<s>
An	O
ASCII	B-Protocol
character	I-Protocol
is	O
represented	O
in	O
its	O
usual	O
encoding	O
.	O
</s>
<s>
(	O
It	O
uses	O
an	O
8-bit	O
lead	O
byte	O
but	O
distinguishes	O
between	O
a	O
second	O
byte	O
with	O
its	O
most	O
significant	O
bit	O
set	O
and	O
one	O
with	O
its	O
most	O
significant	O
bit	O
cleared	O
,	O
and	O
is	O
,	O
therefore	O
,	O
more	O
similar	O
in	O
structure	O
to	O
Big5	O
and	O
other	O
nonISO	O
2022compliant	O
DBCS	B-Application
encoding	O
systems	O
.	O
)	O
</s>
<s>
IBM	O
code	O
page	O
1383	O
(	O
CCSID	O
1383	O
)	O
comprises	O
the	O
single-byte	O
code	B-Protocol
page	I-Protocol
367	I-Protocol
and	O
the	O
double-byte	O
code	O
page	O
1382	O
(	O
CPGID	O
1382	O
as	O
CCSID	O
1382	O
)	O
,	O
which	O
differs	O
by	O
conforming	O
to	O
the	O
EUC	O
structure	O
,	O
adding	O
the	O
31	O
IBM-selected	O
characters	O
in	O
0xFEE0	O
through	O
0xFEFE	O
instead	O
,	O
and	O
including	O
only	O
1360	O
user-defined	O
characters	O
,	O
interspersed	O
in	O
the	O
positions	O
not	O
used	O
by	O
GB	O
2312	O
.	O
</s>
<s>
It	O
defines	O
an	O
extended	B-Protocol
form	O
of	O
the	O
EUC-CN	O
encoding	O
capable	O
of	O
representing	O
a	O
larger	O
array	O
of	O
CJK	O
characters	O
sourced	O
largely	O
from	O
,	O
including	O
traditional	O
Chinese	O
characters	O
and	O
characters	O
used	O
only	O
in	O
Japanese	O
.	O
</s>
<s>
It	O
is	O
not	O
,	O
however	O
,	O
a	O
true	O
EUC	O
code	O
,	O
because	O
ASCII	B-Protocol
bytes	O
may	O
appear	O
as	O
trail	O
bytes	O
(	O
and	O
C1	O
bytes	O
,	O
not	O
limited	O
to	O
the	O
single	O
shifts	O
,	O
may	O
appear	O
as	O
lead	O
or	O
trail	O
bytes	O
)	O
,	O
due	O
to	O
a	O
larger	O
encoding	O
space	O
being	O
required	O
.	O
</s>
<s>
Variants	O
of	O
GBK	O
are	O
implemented	O
by	O
Windows	O
code	O
page	O
936	O
(	O
the	O
Microsoft	B-Application
Windows	I-Application
code	O
page	O
for	O
simplified	O
Chinese	O
)	O
,	O
and	O
by	O
IBM	O
's	O
code	O
page	O
1386	O
.	O
</s>
<s>
The	O
Unicode-based	O
character	B-General_Concept
encoding	I-General_Concept
defines	O
an	O
extension	O
of	O
GBK	O
capable	O
of	O
encoding	O
the	O
entirety	O
of	O
Unicode	O
.	O
</s>
<s>
Other	O
EUC-CN	O
variants	O
deviating	O
from	O
the	O
EUC	O
mechanism	O
include	O
the	O
Mac	B-Application
OS	I-Application
Chinese	O
Simplified	O
script	O
(	O
known	O
as	O
Code	O
page	O
10008	O
or	O
x-mac-chinesesimp	O
)	O
.	O
</s>
<s>
This	O
use	O
of	O
0xA0	O
,	O
0xFD	O
,	O
0xFE	O
and	O
0xFF	O
matches	O
Apple	B-Operating_System
's	I-Operating_System
Shift_JIS	I-Operating_System
variant	I-Operating_System
.	O
</s>
<s>
Besides	O
these	O
changes	O
to	O
the	O
lead	O
byte	O
range	O
,	O
the	O
other	O
distinctive	O
feature	O
of	O
the	O
double-byte	O
portion	O
of	O
Mac	B-Application
OS	I-Application
Chinese	O
Simplified	O
is	O
the	O
inclusion	O
of	O
two	O
extensions	O
to	O
the	O
basic	O
GB	O
2312-80	O
set	O
in	O
rows	O
6	O
and	O
8	O
.	O
</s>
<s>
EUC-JP	O
is	O
a	O
variable-length	O
encoding	O
used	O
to	O
represent	O
the	O
elements	O
of	O
three	O
Japanese	O
character	B-General_Concept
set	I-General_Concept
standards	O
,	O
namely	O
,	O
,	O
and	O
.	O
</s>
<s>
This	O
encoding	O
scheme	O
allows	O
the	O
easy	O
mixing	O
of	O
7-bit	B-Protocol
ASCII	I-Protocol
and	O
8-bit	O
Japanese	O
without	O
the	O
need	O
for	O
the	O
escape	O
characters	O
employed	O
by	O
ISO-2022-JP	O
,	O
which	O
is	O
based	O
on	O
the	O
same	O
character	B-General_Concept
set	I-General_Concept
standards	O
,	O
and	O
without	O
ASCII	B-Protocol
bytes	O
appearing	O
as	O
trail	O
bytes	O
(	O
unlike	O
Shift	O
JIS	O
)	O
.	O
</s>
<s>
Compared	O
to	O
EUC-CN	O
or	O
EUC-KR	O
,	O
EUC-JP	O
did	O
not	O
become	O
as	O
widely	O
adopted	O
on	O
PC	O
and	O
Macintosh	B-Application
systems	I-Application
in	O
Japan	O
,	O
which	O
used	O
or	O
its	O
extensions	O
(	O
Windows	O
code	O
page	O
932	O
on	O
Microsoft	B-Application
Windows	I-Application
,	O
and	O
MacJapanese	B-Operating_System
on	O
classic	B-Application
Mac	I-Application
OS	I-Application
)	O
,	O
although	O
it	O
became	O
heavily	O
used	O
by	O
Unix	B-Application
or	O
Unix-like	O
operating	B-General_Concept
systems	I-General_Concept
(	O
except	O
for	O
HP-UX	B-Application
)	O
.	O
</s>
<s>
As	O
an	O
EUC/ISO	O
2022	O
compliant	O
encoding	O
,	O
the	O
C0	O
control	O
characters	O
,	O
space	O
,	O
and	O
DEL	O
are	O
represented	O
as	O
in	O
ASCII	B-Protocol
.	O
</s>
<s>
A	O
graphical	O
character	O
from	O
ASCII	B-Protocol
(	O
code	B-General_Concept
set	I-General_Concept
0	O
)	O
is	O
represented	O
as	O
its	O
usual	O
one-byte	O
representation	O
,	O
in	O
the	O
range	O
0x21	O
0x7E	O
.	O
</s>
<s>
While	O
some	O
variants	O
of	O
EUC-JP	O
encode	O
the	O
lower	B-General_Concept
half	I-General_Concept
of	O
here	O
,	O
most	O
encode	O
ASCII	B-Protocol
,	O
including	O
the	O
W3C/WHATWG	O
Encoding	O
standard	O
used	O
by	O
HTML5	B-Application
,	O
and	O
so	O
does	O
EUC-JIS-2004	O
.	O
</s>
<s>
While	O
this	O
means	O
that	O
0x5C	O
is	O
typically	O
mapped	O
to	O
Unicode	O
as	O
U+005C	O
REVERSE	O
SOLIDUS	O
(	O
the	O
ASCII	B-Protocol
backslash	O
)	O
,	O
U+005C	O
may	O
be	O
displayed	O
as	O
a	O
Yen	O
sign	O
by	O
certain	O
Japanese-locale	O
fonts	O
,	O
e.g.	O
</s>
<s>
on	O
Microsoft	B-Application
Windows	I-Application
,	O
for	O
compatibility	O
with	O
the	O
lower	B-General_Concept
half	I-General_Concept
of	O
.	O
</s>
<s>
A	O
character	O
from	O
JIS	O
X	O
0208	O
(	O
code	B-General_Concept
set	I-General_Concept
1	O
)	O
is	O
represented	O
by	O
two	O
bytes	O
,	O
both	O
in	O
the	O
range	O
0xA1	O
0xFE	O
.	O
</s>
<s>
This	O
code	B-General_Concept
set	I-General_Concept
may	O
also	O
contain	O
vendor	O
extensions	O
in	O
some	O
EUC-JP	O
variants	O
.	O
</s>
<s>
A	O
character	O
from	O
the	O
upper	O
half	O
of	O
(	O
half-width	O
kana	O
,	O
code	B-General_Concept
set	I-General_Concept
2	O
)	O
is	O
represented	O
by	O
two	O
bytes	O
,	O
the	O
first	O
being	O
0x8E	O
,	O
the	O
second	O
being	O
the	O
usual	O
representation	O
in	O
the	O
range	O
0xA1	O
0xDF	O
.	O
</s>
<s>
A	O
character	O
from	O
JIS	O
X	O
0212	O
(	O
code	B-General_Concept
set	I-General_Concept
3	O
)	O
is	O
represented	O
in	O
EUC-JP	O
by	O
three	O
bytes	O
,	O
the	O
first	O
being	O
0x8F	O
,	O
the	O
following	O
two	O
being	O
in	O
the	O
range	O
0xA10xFE	O
,	O
i.e.	O
</s>
<s>
In	O
addition	O
to	O
standard	O
,	O
code	B-General_Concept
set	I-General_Concept
3	O
of	O
some	O
EUC-JP	O
variants	O
may	O
also	O
contain	O
extensions	O
in	O
rows	O
83	O
and	O
84	O
to	O
represent	O
characters	O
from	O
IBM	O
's	O
Shift	O
JIS	O
extensions	O
which	O
lack	O
standard	O
JIS	O
X	O
0212	O
mappings	O
,	O
which	O
may	O
be	O
coded	O
in	O
either	O
of	O
two	O
layouts	O
,	O
one	O
defined	O
by	O
IBM	O
themselves	O
and	O
one	O
defined	O
by	O
the	O
OSF	B-Application
.	O
</s>
<s>
Some	O
implementations	O
of	O
EUC-JIS-2004	O
,	O
such	O
as	O
the	O
one	O
used	O
by	O
Python	B-Language
,	O
allow	O
both	O
and	O
plane	O
2	O
characters	O
in	O
this	O
set	O
.	O
</s>
<s>
Vendor	O
extensions	O
to	O
EUC-JP	O
(	O
from	O
,	O
for	O
example	O
,	O
the	O
Open	B-Application
Software	I-Application
Foundation	I-Application
,	O
IBM	O
or	O
NEC	O
)	O
were	O
often	O
allocated	O
within	O
the	O
individual	O
code	B-General_Concept
sets	I-General_Concept
,	O
as	O
opposed	O
to	O
using	O
invalid	O
EUC	O
sequences	O
(	O
as	O
in	O
popular	O
extensions	O
of	O
EUC-CN	O
and	O
EUC-KR	O
)	O
.	O
</s>
<s>
The	O
overall	O
format	O
of	O
the	O
"	O
DEC	O
Kanji	O
"	O
encoding	O
mostly	O
corresponds	O
to	O
fixed-length	O
(	O
complete	O
two-byte	O
)	O
EUC	O
;	O
however	O
,	O
code	B-General_Concept
set	I-General_Concept
0	O
is	O
not	O
required	O
to	O
be	O
left-padded	O
with	O
null	O
bytes	O
(	O
similarly	O
to	O
the	O
packed	O
format	O
)	O
.	O
</s>
<s>
JIS	O
X	O
0208	O
is	O
,	O
as	O
usual	O
,	O
used	O
for	O
code	B-General_Concept
set	I-General_Concept
1	O
;	O
code	B-General_Concept
set	I-General_Concept
2	O
(	O
half-width	O
katakana	O
)	O
is	O
absent	O
;	O
code	B-General_Concept
set	I-General_Concept
3	O
is	O
encoded	O
like	O
the	O
two-byte	O
fixed	O
width	O
format	O
(	O
i.e.	O
</s>
<s>
In	O
the	O
basic	O
"	O
DEC	O
Kanji	O
"	O
encoding	O
,	O
only	O
the	O
first	O
31	O
rows	O
of	O
code	B-General_Concept
set	I-General_Concept
3	O
are	O
used	O
for	O
user-defined	O
characters	O
:	O
rows	O
32	O
through	O
94	O
are	O
reserved	O
,	O
similarly	O
to	O
the	O
unused	O
rows	O
in	O
code	B-General_Concept
set	I-General_Concept
1	O
.	O
</s>
<s>
It	O
also	O
allows	O
the	O
entire	O
user	O
defined	O
code	B-General_Concept
set	I-General_Concept
,	O
and	O
the	O
unused	O
rows	O
at	O
the	O
ends	O
of	O
the	O
JIS	O
X	O
0208	O
and	O
JIS	O
X	O
0212	O
code	B-General_Concept
sets	I-General_Concept
(	O
rows	O
85	O
–	O
94	O
and	O
78	O
–	O
94	O
respectively	O
)	O
,	O
to	O
be	O
used	O
for	O
user-defined	O
characters	O
.	O
</s>
<s>
HP-16	O
encodes	O
using	O
the	O
same	O
bytes	O
as	O
in	O
EUC-JP	O
,	O
but	O
does	O
not	O
use	O
the	O
single	O
shift	O
codes	O
(	O
thus	O
omitting	O
code	B-General_Concept
sets	I-General_Concept
2	O
and	O
3	O
)	O
,	O
and	O
adds	O
three	O
user-defined	O
regions	O
which	O
do	O
not	O
follow	O
the	O
packed-format	O
EUC	O
structure	O
:	O
</s>
<s>
with	O
only	O
code	B-General_Concept
sets	I-General_Concept
0	O
and	O
1	O
.	O
</s>
<s>
KEIS	O
(	O
Kanji-processing	O
Extended	B-Protocol
Information	O
System	O
)	O
is	O
an	O
EBCDIC	B-Language
encoding	O
used	O
by	O
Hitachi	O
,	O
with	O
double-byte	O
characters	O
(	O
a	O
DBCS-Host	O
encoding	O
)	O
included	O
using	O
shifting	O
sequences	O
,	O
making	O
it	O
a	O
stateful	B-Application
encoding	O
.	O
</s>
<s>
This	O
results	O
in	O
duplicate	O
encodings	O
for	O
the	O
—	O
0x4040	O
per	O
the	O
DBCS-Host	O
code	O
structure	O
,	O
and	O
0xA1A1	O
as	O
in	O
EUC-JP	O
.	O
</s>
<s>
This	O
differs	O
from	O
IBM	O
's	O
DBCS-Host	O
encoding	O
for	O
Japanese	O
,	O
the	O
layout	O
of	O
which	O
builds	O
on	O
versions	O
which	O
predate	O
JIS	O
X	O
0208	O
altogether	O
.	O
</s>
<s>
The	O
lead	O
byte	O
range	O
is	O
extended	B-Protocol
back	O
to	O
0x59	O
,	O
out	O
of	O
which	O
the	O
lead	O
bytes	O
0x81	O
–	O
A0	O
are	O
designated	O
for	O
user-defined	O
characters	O
,	O
and	O
the	O
remainder	O
are	O
used	O
for	O
corporate-defined	O
characters	O
,	O
including	O
both	O
kanji	O
and	O
non-kanji	O
.	O
</s>
<s>
JEF	O
(	O
Japanese-processing	O
Extended	B-Protocol
Feature	O
)	O
is	O
an	O
EBCDIC	B-Language
encoding	O
used	O
on	O
Fujitsu	O
FACOM	O
mainframes	O
,	O
contrasting	O
with	O
FMR	O
(	O
a	O
variant	O
of	O
Shift	O
JIS	O
)	O
used	O
on	O
Fujitsu	O
PCs	O
.	O
</s>
<s>
Like	O
KEIS	O
,	O
JEF	O
is	O
a	O
stateful	B-Application
encoding	O
,	O
switching	O
to	O
a	O
double-byte	O
DBCS-Host	O
mode	O
using	O
shifting	O
sequences	O
(	O
where	O
switches	O
to	O
single-byte	O
mode	O
and	O
switches	O
to	O
double-byte	O
mode	O
)	O
.	O
</s>
<s>
The	O
lead	O
byte	O
range	O
is	O
extended	B-Protocol
back	O
to	O
0x41	O
,	O
with	O
0x80	O
–	O
A0	O
designated	O
for	O
user	O
definition	O
;	O
lead	O
bytes	O
0x41	O
–	O
7F	O
are	O
assigned	O
row	O
numbers	O
101	O
through	O
163	O
for	O
kuten	O
purposes	O
,	O
although	O
row	O
162	O
(	O
lead	O
byte	O
0x7E	O
)	O
is	O
unused	O
.	O
</s>
<s>
Rows	O
101	O
through	O
148	O
are	O
used	O
for	O
extended	B-Protocol
kanji	O
,	O
while	O
rows	O
149	O
through	O
163	O
are	O
used	O
for	O
extended	B-Protocol
non-kanji	O
.	O
</s>
<s>
EUC-KR	O
is	O
a	O
variable-length	O
encoding	O
to	O
represent	O
Korean	O
text	O
using	O
two	O
coded	B-General_Concept
character	I-General_Concept
sets	I-General_Concept
,	O
(	O
formerly	O
KS	O
C	O
5601	O
)	O
and	O
either	O
(	O
,	O
formerly	O
)	O
or	O
US-ASCII	B-Protocol
,	O
depending	O
on	O
variant	O
.	O
</s>
<s>
A	O
character	O
drawn	O
from	O
KS	O
X	O
1001	O
(	O
G1	O
,	O
code	B-General_Concept
set	I-General_Concept
1	O
)	O
is	O
encoded	O
as	O
two	O
bytes	O
in	O
GR	O
(	O
0xA1	O
–	O
0xFE	O
)	O
and	O
a	O
character	O
from	O
or	O
US-ASCII	B-Protocol
(	O
G0	O
,	O
code	B-General_Concept
set	I-General_Concept
0	O
)	O
takes	O
one	O
byte	O
in	O
GL	O
(	O
0x21	O
–	O
0x7E	O
)	O
.	O
</s>
<s>
IBM	O
refers	O
to	O
the	O
double-byte	O
component	O
as	O
Code	O
page	O
971	O
,	O
and	O
to	O
EUC-KR	O
with	O
ASCII	B-Protocol
as	O
Code	B-General_Concept
page	I-General_Concept
970	I-General_Concept
.	O
</s>
<s>
,	O
0.08	O
%	O
of	O
all	O
web	O
pages	O
globally	O
use	O
EUC-KR	O
,	O
but	O
4.8	O
%	O
of	O
South	O
Korean	O
web	O
pages	O
use	O
EUC-KR	O
,	O
Including	O
extensions	O
,	O
it	O
is	O
the	O
most	O
widely	O
used	O
legacy	O
character	B-General_Concept
encoding	I-General_Concept
in	O
Korea	O
on	O
all	O
three	O
major	O
platforms	O
(	O
macOS	B-Application
,	O
other	O
Unix-like	O
OSes	O
,	O
and	O
Windows	O
)	O
,	O
but	O
its	O
use	O
has	O
been	O
very	O
slowly	O
shifting	O
to	O
UTF-8	O
as	O
it	O
gains	O
popularity	O
,	O
especially	O
on	O
Linux	O
and	O
macOS	B-Application
.	O
</s>
<s>
A	O
common	O
extension	O
of	O
EUC-KR	O
is	O
the	O
Unified	O
Hangul	O
Code	O
(	O
,	O
or	O
)	O
,	O
which	O
is	O
the	O
default	O
Korean	O
codepage	O
on	O
Microsoft	B-Application
Windows	I-Application
.	O
</s>
<s>
The	O
W3C/WHATWG	O
Encoding	O
Standard	O
used	O
by	O
HTML5	B-Application
incorporates	O
the	O
Unified	O
Hangul	O
Code	O
extensions	O
into	O
its	O
definition	O
of	O
EUC-KR	O
.	O
</s>
<s>
Other	O
encodings	O
incorporating	O
EUC-KR	O
as	O
a	O
subset	O
include	O
the	O
Mac	B-Operating_System
OS	I-Operating_System
Korean	I-Operating_System
script	O
(	O
known	O
as	O
Code	O
page	O
10003	O
or	O
x-mac-korean	O
)	O
,	O
which	O
was	O
used	O
by	O
HangulTalk	O
(	O
MacOS-KH	O
)	O
,	O
the	O
Korean	O
localization	O
of	O
the	O
classic	B-Application
Mac	I-Application
OS	I-Application
.	O
</s>
<s>
Some	O
of	O
these	O
characters	O
are	O
font-style-independent	O
stylized	O
dingbats	B-Protocol
.	O
</s>
<s>
However	O
,	O
is	O
used	O
on	O
Solaris	B-Application
as	O
a	O
label	O
for	O
TIS-620	O
.	O
</s>
<s>
EUC-TW	O
is	O
a	O
variable-length	O
encoding	O
that	O
supports	O
US-ASCII	B-Protocol
and	O
16	O
planes	O
of	O
,	O
each	O
of	O
which	O
is	O
94x94	O
.	O
</s>
<s>
As	O
an	O
EUC/ISO	O
2022	O
encoding	O
,	O
the	O
C0	O
control	O
characters	O
,	O
ASCII	B-Protocol
space	O
,	O
and	O
DEL	O
are	O
encoded	O
as	O
in	O
ASCII	B-Protocol
.	O
</s>
<s>
A	O
graphical	O
character	O
from	O
US-ASCII	B-Protocol
(	O
G0	O
,	O
code	B-General_Concept
set	I-General_Concept
0	O
)	O
is	O
encoded	O
in	O
GL	O
as	O
its	O
usual	O
single-byte	O
representation	O
(	O
0x21	O
–	O
0x7E	O
)	O
.	O
</s>
<s>
A	O
character	O
from	O
CNS	O
11643	O
plane	O
1	O
(	O
code	B-General_Concept
set	I-General_Concept
1	O
)	O
is	O
encoded	O
as	O
two	O
bytes	O
in	O
GR	O
(	O
0xA1	O
–	O
0xFE	O
)	O
.	O
</s>
<s>
A	O
character	O
in	O
planes	O
1	O
through	O
16	O
of	O
CNS	O
11643	O
(	O
code	B-General_Concept
set	I-General_Concept
2	O
)	O
is	O
encoded	O
as	O
four	O
bytes	O
:	O
</s>
<s>
Note	O
that	O
plane	O
1	O
of	O
CNS	O
11643	O
is	O
encoded	O
twice	O
as	O
code	B-General_Concept
set	I-General_Concept
1	O
and	O
a	O
part	O
of	O
code	B-General_Concept
set	I-General_Concept
2	O
.	O
</s>
