1PERLCN(1)              Perl Programmers Reference Guide              PERLCN(1)
2
3
4
5XXXXXXXXXXXXXXXXXX, XXXXXXXXXXXX.  XXXXXX POD (XXXXXX) XX; XXXXXXXXXXXXXX,
6XXXXXX. XXXXXXXXXXX, XXX perlpod XXXX.
7

NAME

9       perlcn - XXXX Perl XX
10

DESCRIPTION

12       XXXX Perl XXX!
13
14       X 5.8.0 XXX, Perl XXXXXX Unicode (XXX) XX, XXXXXXXXXXXXXXXXXXX; CJK
15       (XXX) XXXXXXXX.  Unicode XXXXXXX, XXXXXXXXXXXX: XXXX, XXXX, XXXXXXXX
16       (XXX, XXXX, XXXX, XXXX, XXX, XXXX, XX). XXXXXXXXXXXXXX (X PC XXXX).
17
18       Perl XXX Unicode XXXX. XXX Perl XXXXXXXXXX Unicode XX; Perl XXXXXX
19       (XXXXXXXXX) XXX Unicode XXXX.  XXXXXXX, XXXXX Unicode XXXXXXXXXXXX,
20       Perl XXX Encode XXXX, XXXXXXXXXXXXXXXXXXX.
21
22       Encode XXXXXXXXXXXXXXXXX ('gb2312' XX 'euc-cn'):
23
24           euc-cn      Unix XXXXX, XXXXXXXXX
25           gb2312-raw  XXXXX (XXX) GB2312 XXX
26           gb12345     XXXXXXXXXXXXXX
27           iso-ir-165  GB2312 + GB6345 + GB8565 + XXXX
28           cp936       XXX 936, XXXX 'GBK' (XXXXX) XX
29           hz          7 XXXXX GB2312 XX
30
31       XXXX, X EUC-CN XXXXXXX Unicode, XXXXXXXX:
32
33           perl -Mencoding=euc-cn,STDOUT,utf8 -pe1 < file.euc-cn > file.utf8
34
35       Perl XXXX "piconv", XXXXX Perl XXXXXXXXXXX, XXXX:
36
37           piconv -f euc-cn -t utf8 < file.euc-cn > file.utf8
38           piconv -f utf8 -t euc-cn < file.utf8 > file.euc-cn
39
40       XX, XX encoding XX, XXXXXXXXXXXXXXXXX, XXXX:
41
42           #!/usr/bin/env perl
43           # XX euc-cn XXXX; XXXXXXXXXXXXX euc-cn XX
44           use encoding 'euc-cn', STDIN => 'euc-cn', STDOUT => 'euc-cn';
45           print length("XX");      #  2 (XXXXXXX)
46           print length('XX');      #  4 (XXXXXXX)
47           print index("XXXX", "XX"); # -1 (XXXXXXXX)
48           print index('XXXX', 'XX'); #  1 (XXXXXXXX)
49
50       XXXXXXXX, "X" XXXXXXX "X" XXXXXXXXX EUC-CN XX "X"; "X" XXXXXXXX "X"
51       XXXXXXXXX "X".  XXXXXX EUC-CN XXXXXXXXXXX.
52
53   XXXXXXX
54       XXXXXXXXXXX, XXX CPAN (<http://www.cpan.org/>) XX Encode::HanExtra XX.
55       XXXXXXXXXXX:
56
57           gb18030     XXXXXXX, XXXXXX
58
59       XX, Encode::HanConvert XXXXXXXXXXXXXXXX:
60
61           big5-simp   Big5 XXXXX Unicode XXXXXX
62           gbk-trad    GBK XXXXX Unicode XXXXXX
63
64       XXX GBK X Big5 XXXX, XXXXXXXXX b2g.pl X g2b.pl XXXX, XXXXXXXXXXX:
65
66           use Encode::HanConvert;
67           $euc_cn = big5_to_gb($big5); # X Big5 XX GBK
68           $big5 = gb_to_big5($euc_cn); # X GBK XX Big5
69
70   XXXXXX
71       XXX Perl XXXXXXXXX (XXXXXXXXX), XXXXXXX Perl XXX, XX Unicode XXXXX. XX,
72       XXXXXXXXX:
73
74   XX Perl XXXXX
75       <http://www.perl.com/>
76           Perl XXX (XXXXXXXX)
77
78       <http://www.cpan.org/>
79           Perl XXXXX (Comprehensive Perl Archive Network)
80
81       <http://lists.perl.org/>
82           Perl XXXXXX
83
84   XX Perl XXX
85       <http://www.oreilly.com.cn/index.php?func=booklist&cat=68>
86           XXXXXXXXX Perl XX
87
88   Perl XXXXX
89       <http://www.pm.org/groups/asia.html>
90           XX Perl XXXXX
91
92   Unicode XXXX
93       <http://www.unicode.org/>
94           Unicode XXXX (Unicode XXXXXX)
95
96       <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
97           Unix/Linux XX UTF-8 X Unicode XXX
98

SEE ALSO

100       Encode, Encode::CN, encoding, perluniintro, perlunicode
101

AUTHORS

103       Jarkko Hietaniemi <jhi@iki.fi>
104
105       Audrey Tang (XX) <audreyt@audreyt.org>
106
107
108
109perl v5.28.2                      2018-03-01                         PERLCN(1)
Impressum