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 (<https://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       <https://www.perl.org/>
76
77       Perl XXX
78
79       <https://www.perl.com/>
80           X Perl XXXXXXXXXXX
81
82       <https://www.cpan.org/>
83           Perl XXXXX (Comprehensive Perl Archive Network)
84
85       <https://lists.perl.org/>
86           Perl XXXXXX
87
88   XX Perl XXX
89       <http://www.oreilly.com.cn/index.php?func=booklist&cat=68>
90           XXXXXXXXX Perl XX
91
92   Perl XXXXX
93       <https://www.pm.org/groups/asia.html>
94           XX Perl XXXXX
95
96   Unicode XXXX
97       <https://www.unicode.org/>
98           Unicode XXXX (Unicode XXXXXX)
99
100       <https://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
101           Unix/Linux XX UTF-8 X Unicode XXX
102

SEE ALSO

104       Encode, Encode::CN, encoding, perluniintro, perlunicode
105

AUTHORS

107       Jarkko Hietaniemi <jhi@iki.fi>
108
109       Audrey Tang (XX) <audreyt@audreyt.org>
110
111
112
113perl v5.32.1                      2021-03-31                         PERLCN(1)
Impressum