perltw(1)
NAME
perltw - Perl n
DESCRIPTION
w Perl a!
q 5.8.0 }l, Perl F Unicode (UX) , ]saF\hBytH~sX; CJK () KO@. Unicode
O, [\@Wr: @, F@, H@ (, Q, B, B, L, Law, ). ]eFh@~tPO (p PC ).
Perl H Unicode i@. o Perl ri Unicode ; Perl P (pW) ] Unicode i@. bJX,
FBzH Unicode esXxs, Perl F Encode o, iHAagJsX.
Encode UCsX ('big5' 'big5-eten'):
big5-eten Big5 sX (tr)
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 gru{, 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 rR; 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 (qG}l)
b@Cl, "" GP "" @X Big5 X ""; "" GhP "" @X "". oMFHe Big5 XBzW`D.
B~sX
pGnhsX, iHq CPAN (<http://www.cpan.org/>) U Encode::HanExtra . eUCsX:
cccii 1980 ~|TX
euc-tw Unix r, ]t CNS11643 1-7
big5plus Ns| Big5+
big5ext Ns| Big5e
t~, Encode::HanConvert hFcsX:
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
i@BT
Perl jq (O^g), h Perl , H Unicode . L, ~I:
Perl }
<http://www.perl.com/>
Perl (q@)
<http://www.cpan.org/>
Perl X (Comprehensive Perl Archive Network)
<http://lists.perl.org/>
Perl l@
Perl }
<http://www.oreilly.com.tw/chinese/perl/index.html>
Perl
<http://groups.google.com/groups?q=tw.bbs.comp.lang.perl>
OW Perl suQ (]NOUj BBS Perl su)
Perl |
<http://www.pm.org/groups/asia.shtml#Taiwan>
OW Perl s@
<http://irc.elixus.org/>
uW
Unicode }
<http://www.unicode.org/>
Unicode N| (Unicode w)
<http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
Unix/Linux W UTF-8 Unicode
T
s "" s "c"?
<http://www.csie.ntu.edu.tw/~b7506051/mozilla/faq.html#faqglossary>
np <http://www.cpatch.org/>
Linux np
<http://www.linux.org.tw/CLDP/>
SEE ALSO
Encode, Encode::TW, encoding, perluniintro, perlunicode
AUTHORS
Jarkko Hietaniemi <jhi@iki.fi>
Autrijus Tang (v~) <autrijus@autrijus.org>
perl v5.8.8 2006-06-14 PERLTW(1)
Man(1) output converted with
man2html