Commit | Line | Data |
0e567a6c |
1 | package Encode::CN; |
2 | use Encode; |
3 | our $VERSION = '0.02'; |
4 | use XSLoader; |
5 | XSLoader::load('Encode::CN',$VERSION); |
6 | |
7 | 1; |
8 | __END__ |
b2729934 |
9 | =head1 NAME |
10 | |
11 | Encode::CN - China-based Chinese Encodings |
12 | |
13 | =head1 SYNOPSIS |
14 | |
15 | use Encode::CN; |
16 | $euc_cn = encode("euc-cn", $utf8); |
17 | $utf8 = encode("euc-cn", $euc_cn); |
18 | |
19 | =head1 DESCRIPTION |
20 | |
21 | This module implements China-based Chinese charset encodings. |
22 | Encodings supported are as follows. |
23 | |
24 | euc-cn EUC (Extended Unix Character) |
25 | gb2312 The raw (low-bit) GB2312 character map |
26 | gb12345 Traditional chinese counterpart to GB2312 (raw) |
27 | iso-ir-165 GB2312 + GB6345 + GB8565 + additions |
28 | cp936 Code Page 936, also known as GBK (Extended GuoBiao) |
29 | |
30 | To find how to use this module in detail, see L<Encode>. |
31 | |
32 | =head1 NOTES |
33 | |
34 | Due to size concerns, C<GB 18030> (an extension to C<GBK>) is distributed |
35 | separately on CPAN, under the name L<Encode::HanExtra>. That module |
36 | also contains extra Taiwan-based encodings. |
37 | |
38 | =head1 BUGS |
39 | |
40 | The C<HZ> (Hanzi) escaped encoding is not supported. |
41 | |
42 | ASCII part (0x00-0x7f) is preserved for all encodings, even though it |
43 | conflicts with mappings by the Unicode Consortium. See |
44 | |
45 | F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en> |
46 | |
47 | to find why it is implemented that way. |
48 | |
49 | =head1 SEE ALSO |
50 | |
51 | L<Encode> |
52 | |
53 | =cut |