Encode 0.90 (the one with jisx0212-1990) from Dan Kogai.
[p5sagit/p5-mst-13.2.git] / ext / Encode / CN / CN.pm
CommitLineData
0e567a6c 1package Encode::CN;
ee981de6 2our $VERSION = do { my @r = (q$Revision: 0.90 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
c0d88b76 3
4use Encode;
5use Encode::CN::HZ;
0e567a6c 6use XSLoader;
7XSLoader::load('Encode::CN',$VERSION);
8
91;
10__END__
b2729934 11=head1 NAME
12
13Encode::CN - China-based Chinese Encodings
14
15=head1 SYNOPSIS
16
2b217bf7 17 use Encode 'encode';
18 $euc_cn = encode("euc-cn", $utf8); # loads Encode::CN implicitly
ee981de6 19 $utf8 = decode("euc-cn", $euc_cn); # ditto
b2729934 20
21=head1 DESCRIPTION
22
23This module implements China-based Chinese charset encodings.
24Encodings supported are as follows.
25
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
c0d88b76 30 cp936 Code Page 936, also known as GBK (Extended GuoBiao)
31 hz 7-bit escaped GB2312 encoding
b2729934 32
33To find how to use this module in detail, see L<Encode>.
34
35=head1 NOTES
36
37Due to size concerns, C<GB 18030> (an extension to C<GBK>) is distributed
38separately on CPAN, under the name L<Encode::HanExtra>. That module
39also contains extra Taiwan-based encodings.
40
c0d88b76 41=head1 BUGS
b2729934 42
43ASCII part (0x00-0x7f) is preserved for all encodings, even though it
44conflicts with mappings by the Unicode Consortium. See
45
46F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en>
47
48to find why it is implemented that way.
49
50=head1 SEE ALSO
51
52L<Encode>
53
54=cut