2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <title>Encode::KR - Korean Encodings
</title>
6 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <link rev=
"made" href=
"mailto:" />
10 <body style=
"background-color: white">
11 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
12 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
13 <big><strong><span class=
"block"> Encode::KR - Korean Encodings
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
25 <li><a href=
"#bugs">BUGS
</a></li>
26 <li><a href=
"#see_also">SEE ALSO
</a></li>
33 <h1><a name=
"name">NAME
</a></h1>
34 <p>Encode::KR - Korean Encodings
</p>
38 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
40 use Encode qw/encode decode/;
41 $euc_kr = encode(
"euc-kr
", $utf8); # loads Encode::KR implicitly
42 $utf8 = decode(
"euc-kr
", $euc_kr); # ditto
</pre>
46 <h1><a name=
"description">DESCRIPTION
</a></h1>
47 <p>This module implements Korean charset encodings. Encodings supported
50 Canonical Alias Description
51 --------------------------------------------------------------------
52 euc-kr /\beuc.*kr$/i EUC (Extended Unix Character)
54 ksc5601-raw Korean standard code set (as is)
56 /(?:x-)?windows-
949$/i
58 Code Page
949 (EUC-KR +
8,
822
59 (additional Hangul syllables)
60 MacKorean EUC-KR + Apple Vendor Mappings
61 johab JOHAB A supplementary encoding defined in
62 Annex
3 of KS X
1001:
1998
63 iso-
2022-kr iso-
2022-kr [RFC1557]
64 --------------------------------------------------------------------
</pre>
65 <p>To find how to use this module in detail, see
<a href=
"file://C|\msysgit\mingw\html/lib/Encode.html">the Encode manpage
</a>.
</p>
69 <h1><a name=
"bugs">BUGS
</a></h1>
70 <p>When you see
<code>charset=ks_c_5601-
1987</code> on mails and web pages, they really
71 mean ``cp949'' encodings. To fix that, the following aliases are set;
</p>
73 qr/(?:x-)?uhc$/i =
> '
"cp949
"'
74 qr/(?:x-)?windows-
949$/i =
> '
"cp949
"'
75 qr/ks_c_5601-
1987$/i =
> '
"cp949
"'
</pre>
76 <p>The ASCII region (
0x00-
0x7f) is preserved for all encodings, even
77 though this conflicts with mappings by the Unicode Consortium. See
</p>
78 <p><a href=
"http://www.debian.or.jp/~kubota/unicode-symbols.html.en">http://www.debian.or.jp/~kubota/unicode-symbols.html.en
</a></p>
79 <p>to find out why it is implemented that way.
</p>
83 <h1><a name=
"see_also">SEE ALSO
</a></h1>
84 <p><a href=
"file://C|\msysgit\mingw\html/lib/Encode.html">the Encode manpage
</a></p>
85 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
86 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
87 <big><strong><span class=
"block"> Encode::KR - Korean Encodings
</span></strong></big>