


README.TW(1)     Perl Programmers Reference Guide    README.TW(1)


NNAAMMEE
       perltw - =Y'coA'eoxoxoxoa Perl <<"u<<n

DDEESSCCRRIIPPTTIIOONN
       oAw_a"i"'O"`i Perl _a_oox~N|a!

       +-q 5.8.0 _a(C)9|}(C)l, Perl "~a3AEoxFS1,u1/2_a_o Unicode
       (,Uo^e1/2X) ox"a'(C),
       ox]3s+-aox"a'(C)oxF3\|h(C)^OoxB>>y"t=YH=Y~_a_o1/2s1/2Xox`e|,i; CJK
       (oxoxox'e'A'u) <<K~O""aoxox_a_oox@3,i=Y-:-.  Unicode
       ~Oo^e>>'U(C)^E_a_o1/4-D.,C, ,~O1"I2[>>\=Y@~'EoxW(C)`O|3_a_o|r2oA:
       |`eox`e=Y@~'E, _aFox`e=Y@~'E, =YHox^I"^a_a`I9|,i_a_oox@ox'A (SAE~A3/4oxoa,
       +-^OSQ"`Eoxoa, _a"u(C)_^OSBoxoa, SAESB"'Ooxoa, |L<<xoxoa, |L|a|woxoa,
       ,u=Y,u=Y). =Y|ox](R)e ,CoxF|h_o/OS@.~"t2^I>>P=Y->>O (|p PC
       ox^I3'A_a-:-9|`'o).

       Perl =Y>>"-=YH Unicode 9|i|ae3/4IbS@. 3o_a'i=Y"U Perl
       ox_o3,i_a_o|r|^e,^e(R)AE=Yi=Y^I Un_icode _a'i=Y"U; Perl _a_o",c|,i>>P_o^a2oA
       ("`O|p=Y'c3W_a'i=Y"U|,iox~n1"i) ox] `a1"i Unicode 9|i|ae3/4IbS@.
       |b'c'eoxJox^I'c'e=YX(R)'E, ~ooxF3B2z=YH Unicode
       oxS<<e_a_o1/2s1/2Xox`e|,i`Ax|s_a_o,^e(R)AE, Perl '-L"~NoxF Encode
       3o-'O1/4`O2~O,
       =Yi=YHoA'ySA>>'(C)"o|aoA_a"'uox^I1/4goxJ^A^A|3_a_o1/2s1/2X,^e(R)AE.

       Encode (C),u|`u1/4`O2~Oox"a'(C)oxU|C=Y'coA'eoxoxoxoa_a_o1/2s1/2Xox`e|,i
       ('big5' _a'i=Y"U 'big5-eten'):

           big5-eten   Big5 1/2s1/2X (St-^Eox~N(C),u|`u|rS^I)
           big5-hkscs  Big5 + ->>'"a=Y~|r9|o, 2001 |~_a(C)
           cp950       |r1/2X-9| 950 (Big5 + .L3n2K=Y[_a_o|r2oA)

       'A_|"`O"'O>>,i, +-N Big5 1/2s1/2X_a_o`A'E(R)x^A`a|" Unicode,
        ->>'Y'A"aoxJoxU|C<<"u=YO:

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

       Perl ox]ox_o_apboxF "piconv", ox@ox"aS1=Ypb=YH Perl
       1/4g|"_a_o|r2oA^A`a'<<oxu"~a,u{|,i, =Y^I_ak|poxU:

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

       =Yt=Y~, SQ=Y^I encoding 1/4`O2~O,
       SA=Yi=YH>>'(C)"o1/4g=YX=YH|r2oA~o3ae|`i_a_o,u{|,i1/2X, |poxU(C)`O=Y"U:

           #!/usr/bin/env perl
           # +-`Oo^E big5 |r|^e,~N_aR; 1/4-D.,C'c'e=YXoxJox^I1/4-D.,C'c`u>>~3-L3]~o big5 1/2s1/2X
           use encoding 'big5', STDIN => 'big5', STDOUT => 'big5';
           print length("`Ad3/4m");            #  2 (^A`uoxIb,1_a'i=Y"U|r2oA)
           print length('`Ad3/4m');            #  4 (3aeoxIb,1_a'i=Y"U|`iox,2~O)
           print index("1/2^I1/2^I+--D>>-L", "^I1/2^I+-"); # -1 (ox-L=Y]St|1oxl|r|^e)
           print index('1/2^I1/2^I+--D>>-L', '^I1/2^I+-'); #  1 (+-q2"AoxG-'O|`iox,2~O9|}(C)l)

       |b3`I<<'aox@|C"`Ooxl,`I, "1/2^I" _a_o2"AoxG-'O|`iox,2~O>>P "1/2^I"



perl v5.8.8                 2006-03-28                          1





README.TW(1)     Perl Programmers Reference Guide    README.TW(1)


       _a_o2"Aox@-'O|`iox,2~O,u2|X|" Big5 1/2X_a_o "^I1/2"; "1/2^I"
       _a_o2"AoxG-'O|`iox,2~O<<h>>P "+--D" _a_o2"Aox@-'O|`iox,2~O,u2|X|" "^I+-".
       3o,~N"MoxF=YH<<e Big5 1/2Xox~n1"i3B2zoxW+-`"-L_a_oo'Y~AD.

       ~~AABB==YY~~__aa__ooooxxooxxooxxooaa11//22ss11//22XX

       |p_aG>>'Y-nS'o|h_a_ooxoxoxoa1/2s1/2X, =Yi=YH+-q CPAN
       (<http://www.cpan.org/>) oxU,"u Encode::HanExtra 1/4`O2~O.
       =Y|=Y/O<<e'-L"~NoxU|C1/2s1/2Xox`e|,i:

           cccii       1980 |~oxoa<</O.|_a_ooxoxoxoa,^eoT=Yae'<<1/2X
           euc-tw      Unix (C),u|`u|r2oA9|o, =Y]St CNS11643 =Y--+- 1-7
           big5plus    oxoxoxoa1/4AE|`ioxAESIb3N+-`A1/4so`o_a-:-.|_a_o Big5+
           big5ext     oxoxoxoa1/4AE|`ioxAESIb3N+-`A1/4so`o_a-:-.|_a_o Big5e

       =Yt=Y~, Encode::HanConvert
       1/4`O2~O<<h'-L"~NoxF^A2'Ac^A`a'<<=Y^I_a_o"^a_o/O1/2s1/2X:

           big5-simp   Big5 =Y'coA'eoxoxoxoa>>P Unicode ^A2oA'eoxoxoxoaox~^A`a
           gbk-trad    GBK ^A2oA'eoxoxoxoa>>P Unicode =Y'coA'eoxoxoxoaox~^A`a

       -Y.Q|b GBK >>P Big5 oxS9|,iox~^A`a, 1/2-Do~N|`O,'O1/4`O2~Oox_o_apb_a_o
       b2g.pl >>P g2b.pl "^aox"a,u{|,i, (C)^I|b,u{|,iox_o""I=Y^IoxU|C1/4g_ak:

           use Encode::HanConvert;
           $euc_cn = big5_to_gb($big5); # +-q Big5 ^A`a~o GBK
           $big5 = gb_to_big5($euc_cn); # +-q GBK ^A`a~o Big5

       99||iiooxx@@""BB__aa__oo,,^^eeooTT

       1/2-Do~N|_`O Perl ox_o_apb_a_ooxj9|q>>,i(C)'uoxoa=Y'o
       (ox-L(C) =Ypb~O=Y^I-^oxoa1/4g_a_o), "'O3/4,C2BS'o|h~A"o(C)'o Perl
       _a_o_a3/4~A~N, =YHox^I Unicode _a_o""I=Y^Iox`e|,i. ox-L1L,
       =Y~3,i_a_o,^e.1/2~^U.'i^Ax'I:

       ''--LL""~~NN PPeerrll ,,^^ee..11//22__aa__oo__oo^^ooSS}}


       <http://www.perl.com/>
           Perl _a_o-_o-9| (=Y~N1/4'U,u"U^ASox1/2=Yq_o^uoA@)

       <http://www.cpan.org/>
           Perl _o^i|X"oa^A~A_o^o (Comprehensive Perl Archive Network)

       <http://lists.perl.org/>
           Perl 9|l>>1/41/2x3/4^Aox@"A'y

       33//44,,CC22BB PPeerrll __aa__oo__oo^^ooSS}}


       <http://www.oreilly.com.tw/chinese/perl/index.html>
           =Y'coA'eoxoxoxoa_a(C)_a_o1/4'U,u"U^AS Perl (R)~N^A,C





perl v5.8.8                 2006-03-28                          2





README.TW(1)     Perl Programmers Reference Guide    README.TW(1)


       <http://groups.google.com/groups?q=tw.bbs.comp.lang.perl>
           >>OAEW Perl 3s1/2uoQ1/2xo"I (ox]'N~O|Uoxj BBS _a_o Perl
           3s1/2u_a(C))

       PPeerrll """"II==YY^^II__aa``II99||oo..||


       <http://www.pm.org/groups/asia.shtml#Taiwan>
           >>OAEW Perl +-`A1/4s2~Oox@"A'y

       <http://irc.elixus.org/>
           ~A`A=YB"'o1/2uoxW2'aox~N<<,C

       UUnniiccooddee ~~^^UU~~AA""oo__oo^^ooSS}}


       <http://www.unicode.org/>
           Unicode 3/4,C3N3/4,C.| (Unicode 1/4-D.,C_a_o"^i(C)w_a`I)

       <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
           Unix/Linux oxW_a_o UTF-8 ox^I Unicode ,u_a<<`Eo'Y

       ooxxooxxooxxooaaooxxAAEE,,^^eeooTT


       ~ooxo>>`o=Ys "=Y'coA'eoxoxoxoa" ox-L=Ys "'AcoA'eoxoxoxoa"?
           <http://www.csie.ntu.edu.tw/~b7506051/mozilla/faq.html#faq-
           glossary>

       oxoxoxoaoxAE3noA'e'Ap.`u
           <http://www.cpatch.org/>

       Linux 3noA'eoxoxoxoaoxAE-p1_o
           <http://www.linux.org.tw/CLDP/>

SSEEEE AALLSSOO
       Encode, Encode::TW, encoding, perluniintro, perlunicode

AAUUTTHHOORRSS
       Jarkko Hietaniemi <jhi@iki.fi>

       Autrijus Tang (-`'o(C)v_o~) <autrijus@autrijus.org>















perl v5.8.8                 2006-03-28                          3


