File: README.tw

package info (click to toggle)
perl 5.14.2-21%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 89,728 kB
  • sloc: perl: 421,086; ansic: 195,186; sh: 37,852; pascal: 8,746; cpp: 3,893; makefile: 2,346; xml: 1,972; yacc: 1,602
file content (172 lines) | stat: -rw-r--r-- 4,359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
If you read this file _as_is_, just ignore the funny characters you
see. It is written in the POD format (see perlpod manpage) which is
specially designed to be readable as is.

The following documentation is written in Big5 encoding.

pGAΤ@몺rs边\o, Щ夤_SOr.
oOH POD (²榡) g; oخ榡OFHŪ,
ӯSO]p. 󦹮榡i@BT, аѦ perlpod uW.

=encoding big5

=head1 NAME

perltw - 餤 Perl n

=head1 DESCRIPTION

wӨ Perl Ѧa!

q 5.8.0 }l, Perl ƤF Unicode (UX) 䴩,
]sa䴩F\hԤBytH~sX覡; CJK () KO䤤@.
Unicode Oکʪз, չϲ[\@ɤWҦr: @, F@,
HΨ̶@ (þ, ԧQȤ, ԧB, ƧBӤ, Lפ,
Law, ). ]eǤFhا@~tλPO (p PC γ).

Perl H Unicode iާ@. o Perl rƥi Unicode
; Perl 禡P (ҦpWܦ) ] Unicode iާ@.
bJοX, FBzH Unicode esX覡xs, Perl
ѤF Encode oӼҲ, iHAaŪμgJ¦sX.

Encode Ҳդ䴩UC餤媺sX覡 ('big5'  'big5-eten'):

    big5-eten	Big5 sX (tʤѩr)
    big5-hkscs	Big5 + ~r, 2001 ~
    cp950	rX 950 (Big5 + LnK[r)

|Ҩӻ, N Big5 sXɮন Unicode, JUCO:

    perl -Mencoding=big5,STDOUT,utf8 -pe1 < file.big5 > file.utf8

Perl ]F "piconv", @䧹H Perl grഫu{, ΪkpU:

    piconv -f big5 -t utf8 < file.big5 > file.utf8
    piconv -f utf8 -t big5 < file.utf8 > file.big5

t~, Q encoding Ҳ, AiHgXHrŬ쪺{X, pUҥ:

    #!/usr/bin/env perl
    # Ұ big5 rѪR; зǿXJμзǿ~] big5 sX
    use encoding 'big5', STDIN => 'big5', STDOUT => 'big5';
    print length("dm");	     #  2 (޸ܦr)
    print length('dm');	     #  4 (޸ܦ줸)
    print index("ναл", "να"); # -1 (]tlr)
    print index('ναл', 'να'); #  1 (qĤGӦ줸ն}l)

b̫@CҤl, "" ĤGӦ줸ջP "" Ĥ@Ӧ줸յX Big5
X "ν"; "" ĤGӦ줸իhP "" Ĥ@Ӧ줸յX "α".
oѨMFHe Big5 XBzW`D.

=head2 B~sX

pGݭnhsX, iHq CPAN (L<http://www.cpan.org/>) U
Encode::HanExtra Ҳ. ثeѤUCsX覡:

    cccii	1980 ~ط|T洫X
    euc-tw	Unix rŶ, ]t CNS11643  1-7
    big5plus	ƦƧ޳Ns| Big5+
    big5ext	ƦƧ޳Ns| Big5e

t~, Encode::HanConvert ҲիhѤF²cഫΪؽsX:

    big5-simp	Big5 餤P Unicode ²餤夬
    gbk-trad	GBK ²餤P Unicode 餤夬

YQb GBK P Big5 , аѦҸӼҲդ b2g.pl P g2b.pl {,
Φb{ϥΤUCgk:

    use Encode::HanConvert;
    $euc_cn = big5_to_gb($big5); # q Big5 ର GBK
    $big5 = gb_to_big5($euc_cn); # q GBK ର Big5

=head2 i@BT

аѦ Perl jq (Oέ^g), ӾDzߧh
Perl , H Unicode ϥΤ覡. L, ~귽۷״I:

=head2  Perl 귽}

=over 4

=item L<http://www.perl.com/>

Perl  (Ѽڵ§q@)

=item L<http://www.cpan.org/>

Perl Xú (Comprehensive Perl Archive Network)

=item L<http://lists.perl.org/>

Perl l׾¤@

=back

=head2 Dz Perl }

=over 4

=item L<http://www.oreilly.com.tw/product_perl.php?id=index_perl>

餤媩ڵ§ Perl 

=item L<http://groups.google.com/groups?q=tw.bbs.comp.lang.perl>

OW Perl suQװ (]NOUj BBS  Perl su)

=back

=head2 Perl ϥΪ̶|

=over 4

=item L<http://www.pm.org/groups/asia.html>

OW Perl sդ@

=item L<http://irc.elixus.org/>

ߨuWѫ

=back

=head2 Unicode }

=over 4

=item L<http://www.unicode.org/>

Unicode dzNǷ| (Unicode зǪw)

=item L<http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>

Unix/Linux W UTF-8  Unicode Ȱ

=back

=head2 ƸT

=over 4

=item Ƴnp

L<http://www.cpatch.org/>

=item Linux n餤ƭp

L<http://www.linux.org.tw/CLDP/>

=back

=head1 SEE ALSO

L<Encode>, L<Encode::TW>, L<encoding>, L<perluniintro>, L<perlunicode>

=head1 AUTHORS

Jarkko Hietaniemi E<lt>jhi@iki.fiE<gt>

Audrey Tang () E<lt>audreyt@audreyt.orgE<gt>

=cut