PERLTW(1) Perl Programmers Reference Guide PERLTW(1)
NAME
perltw - Perl <<<<n
DESCRIPTION
wa"" Perl ao|a!
+-q 5.8.0 a(C)9|}(C)l, Perl "3AEFS11/2ao Unicode (,Uo1/2X) '(C),
]3s+-a'(C)F3\|h(C)B>>y"tH~ao1/2s1/2X|; CJK () <<K~O"ao@3-:-. Unicode
~Oo>>(C)ao1/4., ,12[>>\@~W(C)|3ao|r2: |@~, aF@~, H"a9|ao@ (SAE3/4,
+-SQ", a(C)SB, SAESB", |L<<x, |L|a|w, ). |](R)e F|hoS@.~"t2>>P>>O (|p PC
3a-:-9|).
Perl >>"H Unicode 9|i|ae3/4S@. 3oa Perl o3ao|r|,(R)AEi Unicode a; Perl ao"|>>Po2
("|p3Wa|1) ] 1 Unicode 9|i|ae3/4S@. |bJX(R), ~oF3B2zH Unicode
S<<eao1/2s1/2X|x|sao,(R)AE, Perl '"F Encode 3o1/42,
iHSA>>'(C)|aa"1/4gJ|3ao1/2s1/2X,(R)AE.
Encode (C)|1/42'(C)U|Cao1/2s1/2X| ('big5' a 'big5-eten'):
big5-eten Big5 1/2s1/2X (St(C)||rS)
big5-hkscs Big5 + >>'~|r9|o, 2001 |~a(C)
cp950 |r1/2X9| 950 (Big5 + .L3n2K[ao|r2)
_
|"">>, +-N Big5 1/2s1/2Xao(R)x|" Unicode, >>JU|C<<O:
perl -Mencoding=big5,STDOUT,utf8 -pe1 < file.big5 file.utf8
Perl ]oaF "piconv", @S1H Perl 1/4g|"ao|r2'<<u"{|, ak|pU:
piconv -f big5 -t utf8 < file.big5 > file.utf8
piconv -f utf8 -t big5 < file.utf8 > file.big5
t~, SQ encoding 1/42, SAiH>>'(C)1/4gXH|r2~o3ae|ao{|1/2X, |pU(C):
#!/usr/bin/env perl
# +-o big5 |r|,aR; 1/4.XJ1/4.>>~33]~o big5 1/2s1/2X
use encoding 'big5', STDIN => 'big5', STDOUT => 'big5';
print length("d3/4m"); # 2 (,1a|r2)
print length('d3/4m'); # 4 (3ae,1a|,2)
print index("1/21/2+->>", "1/2+-"); # -1 (]St|1l|r|)
print index('1/21/2+->>', '1/2+-'); # 1 (+-q2G|,29|}(C)l)
|b3<<@|C"l,, "1/2" ao2G|,2>>P "1/2" ao2@|,22|X|" Big5 1/2Xao "1/2"; "1/2"
ao2G|,2<<h>>P "+-" ao2@|,22|X|" "+-". 3o,"MFH<<e Big5 1/2X13B2zW+-`"aooD.
AABYY~aaooxxxxxxaa1/2s1/2X
|paG>>nS|hao1/2s1/2X, iH+-q CPAN (<http://www.cpan.org/) U, Encode::HanExtra 1/42.
|<<e'"U|C1/2s1/2X|:
cccii 1980 |~<<.|ao,oTae'<<1/2X
euc-tw Unix (C)||r29|o, ]St CNS11643 +- 1-7
big5plus 1/4AE|AES3N+-1/4soa-:-.|ao Big5+
big5ext 1/4AE|AES3N+-1/4soa-:-.|ao Big5e
t~, Encode::HanConvert 1/42<<h'"F2c'<<ao"o1/2s1/2X:
big5-simp Big5 >>P Unicode 2~
gbk-trad GBK 2>>P Unicode ~
Y.Q|b GBK >>P Big5 S9|~, 1/2o|,1/42oaao b2g.pl >>P g2b.pl "{|,
(C)|b{|o"U|C1/4gak:
use Encode::HanConvert;
$euc_cn = big5_to_gb($big5); # +-q Big5 ~o GBK
$big5 = gb_to_big5($euc_cn); # +-q GBK ~o Big5
9|ixx@"Baaoo,eeoT
_
1/2o| Perl oaaoj9|q>>(C) ((C) ~O^1/4gao), "3/42BS|h(C) Perl aoa3/4, H
Unicode ao"|. 1L, ~3ao,.1/2~.x'I:
'LL"NN Perl ,ee.1/2aaooooooS}
<http://www.perl.com/
Perl aoo9| (1/4S1/2qo@)
<http://www.cpan.org/
Perl o|X"o (Comprehensive Perl Archive Network)
<http://lists.perl.org/
Perl 9|l>>1/41/2x3/4@
3/4CC2B Perl aaooooooS}
<http://www.oreilly.com.tw/chinese/perl/index.html
a(C)ao1/4S Perl (R)
<http://groups.google.com/groups?q=tw.bbs.comp.lang.perl
>>OAEW Perl 3s1/2uoQ1/2xo (]'N~O|Uj BBS ao Perl 3s1/2ua(C))
Perl "IIYYIIaaII9|o.|
<http://www.pm.org/groups/asia.shtml#Taiwan
>>OAEW Perl +-1/4s2@
<http://irc.elixus.org/
B"1/2uW2<<
Unicode ~UUAAooooooS}
<http://www.unicode.org/
Unicode 3/43N3/4.| (Unicode 1/4.ao"(C)wa)
<http://www.cl.cam.ac.uk/%7Emgk25/unicode.html
Unix/Linux Wao UTF-8 Unicode a<<o
xxxxxxaaxxAE,eeoT
~oo>>s "" s "c"?
<http://www.csie.ntu.edu.tw/~b7506051/mozilla/faq.html#faqglossary
AE3np.
<http://www.cpatch.org/
Linux 3nAEp1o
<http://www.linux.org.tw/CLDP/
SEE ALSO
Encode, Encode::TW, encoding, perluniintro, perlunicode
AUTHORS
Jarkko Hietaniemi <jhi@iki.fi>
Autrijus Tang ((C)vo~) <autrijus@autrijus.org>
perl v5.8.8 2006-01-07 PERLTW(1)
|