Commit | Line | Data |
0e567a6c |
1 | package Encode::TW; |
fab31126 |
2 | our $VERSION = do { my @r = (q$Revision: 0.92 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; |
c0d88b76 |
3 | |
4 | use Encode; |
0e567a6c |
5 | use XSLoader; |
6 | XSLoader::load('Encode::TW',$VERSION); |
7 | |
8 | 1; |
9 | __END__ |
b2729934 |
10 | =head1 NAME |
11 | |
12 | Encode::TW - Taiwan-based Chinese Encodings |
13 | |
14 | =head1 SYNOPSIS |
15 | |
2b217bf7 |
16 | use Encode 'encode'; |
17 | $big5 = encode("big5", $utf8); # loads Encode::TW implicitly |
ee981de6 |
18 | $utf8 = decode("big5", $big5); # ditto |
b2729934 |
19 | |
20 | =head1 DESCRIPTION |
21 | |
22 | This module implements Taiwan-based Chinese charset encodings. |
23 | Encodings supported are as follows. |
24 | |
25 | big5 The original Big5 encoding |
26 | big5-hkscs Big5 plus Cantonese characters in Hong Kong |
c0d88b76 |
27 | cp950 Code Page 950 (Big5 + Microsoft vendor mappings) |
b2729934 |
28 | |
29 | To find how to use this module in detail, see L<Encode>. |
30 | |
31 | =head1 NOTES |
32 | |
33 | Due to size concerns, C<EUC-TW> (Extended Unix Character) and C<BIG5PLUS> |
34 | (CMEX's Big5+) are distributed separately on CPAN, under the name |
35 | L<Encode::HanExtra>. That module also contains extra China-based encodings. |
36 | |
37 | =head1 BUGS |
38 | |
39 | The C<CNS11643> encoding files are not complete (only the first two planes, |
40 | C<11643-1> and C<11643-2>, exist in the distribution). For common CNS11643 |
41 | manipulation, please use C<EUC-TW> in L<Encode::HanExtra>, which contains |
42 | plane 1-7. |
43 | |
44 | ASCII part (0x00-0x7f) is preserved for all encodings, even though it |
45 | conflicts with mappings by the Unicode Consortium. See |
46 | |
47 | F<http://www.debian.or.jp/~kubota/unicode-symbols.html.en> |
48 | |
49 | to find why it is implemented that way. |
50 | |
51 | =head1 SEE ALSO |
52 | |
53 | L<Encode> |
54 | |
55 | =cut |