Install Perl 5.8.8
[msysgit.git] / mingw / html / ext / Encode / KR / KR.html
blob17a83732aedcaff44a28631009577236cfbfb6c5
1 <?xml version="1.0" ?>
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">
4 <head>
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:" />
8 </head>
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">&nbsp;Encode::KR - Korean Encodings</span></strong></big>
14 </td></tr>
15 </table>
17 <p><a name="__index__"></a></p>
18 <!-- INDEX BEGIN -->
20 <ul>
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>
27 </ul>
28 <!-- INDEX END -->
30 <hr />
31 <p>
32 </p>
33 <h1><a name="name">NAME</a></h1>
34 <p>Encode::KR - Korean Encodings</p>
35 <p>
36 </p>
37 <hr />
38 <h1><a name="synopsis">SYNOPSIS</a></h1>
39 <pre>
40 use Encode qw/encode decode/;
41 $euc_kr = encode(&quot;euc-kr&quot;, $utf8); # loads Encode::KR implicitly
42 $utf8 = decode(&quot;euc-kr&quot;, $euc_kr); # ditto</pre>
43 <p>
44 </p>
45 <hr />
46 <h1><a name="description">DESCRIPTION</a></h1>
47 <p>This module implements Korean charset encodings. Encodings supported
48 are as follows.</p>
49 <pre>
50 Canonical Alias Description
51 --------------------------------------------------------------------
52 euc-kr /\beuc.*kr$/i EUC (Extended Unix Character)
53 /\bkr.*euc$/i
54 ksc5601-raw Korean standard code set (as is)
55 cp949 /(?:x-)?uhc$/i
56 /(?:x-)?windows-949$/i
57 /\bks_c_5601-1987$/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>
66 <p>
67 </p>
68 <hr />
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>
72 <pre>
73 qr/(?:x-)?uhc$/i =&gt; '&quot;cp949&quot;'
74 qr/(?:x-)?windows-949$/i =&gt; '&quot;cp949&quot;'
75 qr/ks_c_5601-1987$/i =&gt; '&quot;cp949&quot;'</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>
80 <p>
81 </p>
82 <hr />
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">&nbsp;Encode::KR - Korean Encodings</span></strong></big>
88 </td></tr>
89 </table>
91 </body>
93 </html>