7 XSLoader::load('Encode::CN',$VERSION);
13 Encode::CN - China-based Chinese Encodings
18 $euc_cn = encode("euc-cn", $utf8); # loads Encode::CN implicitly
19 $utf8 = encode("euc-cn", $euc_cn); # ditto
23 This module implements China-based Chinese charset encodings.
24 Encodings supported are as follows.
26 euc-cn EUC (Extended Unix Character)
27 gb2312 The raw (low-bit) GB2312 character map
28 gb12345 Traditional chinese counterpart to GB2312 (raw)
29 iso-ir-165 GB2312 + GB6345 + GB8565 + additions
30 cp936 Code Page 936, also known as GBK (Extended GuoBiao)
31 hz 7-bit escaped GB2312 encoding
33 To find how to use this module in detail, see L<Encode>.
37 Due to size concerns, C<GB 18030> (an extension to C<GBK>) is distributed
38 separately on CPAN, under the name L<Encode::HanExtra>. That module
39 also contains extra Taiwan-based encodings.
43 ASCII part (0x00-0x7f) is preserved for all encodings, even though it
44 conflicts with mappings by the Unicode Consortium. See
46 F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
48 to find why it is implemented that way.