1PERLTW(1) Perl Programmers Reference Guide PERLTW(1)
2
3
4
6 perltw - XXXXXXXX Perl XXXXXX
7
9 XXXXXXXXX Perl XXXXXXX!
10
11 XX 5.8.0 XXXXXXXX, Perl XXXXXXXXXXXXXXX Unicode (XXXXXXX) XXXXX,
12 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; CJK (XXXXXX)
13 XXXXXXXXXXXXXXXX. Unicode XXXXXXXXXXXXXXXXX,
14 XXXXXXXXXXXXXXXXXXXXXXXXXXXX: XXXXXXXXX, XXXXXXXXXX,
15 XXXXXXXXXXXXXXXXXXXX (XXXXXXXX, XXXXXXXXXXX, XXXXXXXXX, XXXXXXXXX,
16 XXXXXXX, XXXXXXXXXX, XXXX). XXXXXXXXXXXXXXXXXXXXXXXXXXX (XX PC
17 XXXXXXXXX).
18
19 Perl XXXXXX Unicode XXXXXXXXXX. XXXXXX Perl XXXXXXXXXXXXXXXXXXXXX
20 Unicode XXX; Perl XXXXXXXXXXXXXXX (XXXXXXXXXXXXXXXXX) XXXXXXX Unicode
21 XXXXXXXXXX. XXXXXXXXXXXXXXX, XXXXXXXXXXXXX Unicode
22 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX, Perl XXXXXXX Encode XXXXXXXXXX,
23 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
24
25 Encode XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ('big5' XXX 'big5-eten'):
26
27 big5-eten Big5 XXX (XXXXXXXXXXXXXX)
28 big5-hkscs Big5 + XXXXXXXXXXX, 2001 XXXX
29 cp950 XXXXXX 950 (Big5 + XXXXXXXXXXXXXXX)
30
31 XXXXXXXXX, XX Big5 XXXXXXXXXXXXXXX Unicode, XXXXXXXXXXXXXXXXXXXX:
32
33 perl -Mencoding=big5,STDOUT,utf8 -pe1 < file.big5 > file.utf8
34
35 Perl XXXXXXXXX "piconv", XXXXXXXXXXX Perl XXXXXXXXXXXXXXXXXXXXXXXX,
36 XXXXXXXXX:
37
38 piconv -f big5 -t utf8 < file.big5 > file.utf8
39 piconv -f utf8 -t big5 < file.utf8 > file.big5
40
41 XXXXX, XXXXX encoding XXXX, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX,
42 XXXXXXXXX:
43
44 #!/usr/bin/env perl
45 # XXXXXX big5 XXXXXXXX; XXXXXXXXXXXXXXXXXXXXXXXXXXX big5 XXX
46 use encoding 'big5', STDIN => 'big5', STDOUT => 'big5';
47 print length("XXXX"); # 2 (XXXXXXXXXXXXXXX)
48 print length('XXXX'); # 4 (XXXXXXXXXXXXXXXXXX)
49 print index("XXXXXXXXX", "XXXX"); # -1 (XXXXXXXXXXXXXXX)
50 print index('XXXXXXXXX', 'XXXX'); # 1 (XXXXXXXXXXXXXXXXXXXXX)
51
52 XXXXXXXXXXXXXXXXXX, "XX" XXXXXXXXXXXXXXXXXXXX "XX"
53 XXXXXXXXXXXXXXXXXXXXXXXXX Big5 XXXX "XX"; "XX" XXXXXXXXXXXXXXXXXXXXXXX
54 "XXX" XXXXXXXXXXXXXXXXXXXXXXXXX "XX". XXXXXXXXXXXXX Big5
55 XXXXXXXXXXXXXXXXXXXXXXXXXX.
56
57 XXXXXXXXXXXXXX
58 XXXXXXXXXXXXXXXXXXXXXXXXX, XXXXXX CPAN (<http://www.cpan.org/>) XXXX
59 Encode::HanExtra XXXX. XXXXXXXXXXXXXXXXXXXXXXXXX:
60
61 cccii 1980 XXXXXXXXXXXXXXXXXXXXXXXX
62 euc-tw Unix XXXXXXXXX, XXXXXX CNS11643 XXXX 1-7
63 big5plus XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Big5+
64 big5ext XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Big5e
65
66 XXXXX, Encode::HanConvert XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
67
68 big5-simp Big5 XXXXXXXXXXX Unicode XXXXXXXXXXXX
69 gbk-trad GBK XXXXXXXXXXX Unicode XXXXXXXXXXXX
70
71 XXXXXXX GBK XXX Big5 XXXXXXXXX, XXXXXXXXXXXXXXXXXXXXX b2g.pl XXX g2b.pl
72 XXXXXXXXX, XXXXXXXXXXXXXXXXXXXXXXXXXX:
73
74 use Encode::HanConvert;
75 $euc_cn = big5_to_gb($big5); # XX Big5 XXXXX GBK
76 $big5 = gb_to_big5($euc_cn); # XX GBK XXXXX Big5
77
78 XXXXXXXXXXXXX
79 XXXXXXXX Perl XXXXXXXXXXXXXXXXXXXXX (XXXXXXXXXXXXXXXXXX),
80 XXXXXXXXXXXXXXXX Perl XXXXXXXX, XXXX Unicode XXXXXXXXXXX. XXXXX,
81 XXXXXXXXXXXXXXXXXXXX:
82
83 XXXXX Perl XXXXXXXXXXX
84 <http://www.perl.com/>
85 Perl XXXXXXXX (XXXXXXXXXXXXXXXXX)
86
87 <http://www.cpan.org/>
88 Perl XXXXXXXXXXXX (Comprehensive Perl Archive Network)
89
90 <http://lists.perl.org/>
91 Perl XXXXXXXXXXXX
92
93 XXXX Perl XXXXXXX
94 <http://www.oreilly.com.tw/product_perl.php?id=index_perl>
95 XXXXXXXXXXXXXXXXXXXXX Perl XXXXX
96
97 <http://groups.google.com/groups?q=tw.bbs.comp.lang.perl>
98 XXXXX Perl XXXXXXXXXXXX (XXXXXXXXXX BBS XXX Perl XXXXXXXX)
99
100 Perl XXXXXXXXXXXX
101 <http://www.pm.org/groups/asia.html>
102 XXXXX Perl XXXXXXXXX
103
104 <http://irc.elixus.org/>
105 XXXXXXXXXXXXXXXXXX
106
107 Unicode XXXXXXXXX
108 <http://www.unicode.org/>
109 Unicode XXXXXXXX (Unicode XXXXXXXXXXXXXXX)
110
111 <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
112 Unix/Linux XXXXX UTF-8 XXX Unicode XXXXXX
113
114 XXXXXXXXXXX
115 XXXXXXXXXXXXXXXX
116 <http://www.cpatch.org/>
117
118 Linux XXXXXXXXXXXXXXXX
119 <http://www.linux.org.tw/CLDP/>
120
122 Encode, Encode::TW, encoding, perluniintro, perlunicode
123
125 Jarkko Hietaniemi <jhi@iki.fi>
126
127 Audrey Tang (XXXXX) <audreyt@audreyt.org>
128
129
130
131perl v5.12.4 2011-06-01 PERLTW(1)