Man Pages

perlcn(1) - phpMan perlcn(1) - phpMan

Command: man perldoc info search(apropos)  


PERLCN(1)              Perl Programmers Reference Guide              PERLCN(1)



NAME
       perlcn -  1/4 oIaO?IA Perl O,AI

DESCRIPTION
       >>?O-A?u 1/2  Perl uAIiu?!

       ?O 5.8.0 ?ae??E 1/4 , Perl  3/4 ss?,AEIeEAEuA Unicode (I?O>>Ae) O?O(R), O?A???O?O(R)AE?i?aA-??OiIuOOIauA?aAe? 1/2 E 1/2 ; CJK (O?EO?<<)
       ?aECAEaO?uAO>>???Y.  Unicode EC?u 1/4 E?OuA?ex 1/4 , EOI 1/4 ?-,CEA 1/2 cEIEuO?uAxO?u: I?? 1/2 EA 1/2 c, ?<<? 1/2 EA 1/2 c, OO 1/4 ?A 1/2 Oss 1/4 auAO>>C?
       (I?A?IA, ??AuNCIA, NCA-?(R)IA, I??(R)A?IA, O??EIA, O?u???IA, uEuE). EuO?EYAEAE?aOOx?OuIuI?OeAE 1/2 I? (Ec PC  1/4 ?Ao 1/2 ?E?).

       Perl ? 3/4 EiOO Unicode  1/2 ????Ux?. Oa?iE 3/4  Perl AU??uAxO?u?(R)Ey 3/4 Y?EOA Unicode ?iE 3/4 ; Perl uA??E 1/2 OeEa?u
       (AyEcOy?ae?iE 3/4 E 1/2 ?E?O) O?AU?O Unicode  1/2 ????Ux?.  OUEaEe 1/4 ?Ea?oE?, I?AE??AiOO Unicode O(R)C?uA?aAe? 1/2 E 1/2 ?ae?AuAEy 3/4 Y,
       Perl Ia?(C)AE Encode Oa,oA??e, ?EOOEAAaCaOxu??AE? 1/4 ???Ee 3/4 EO?uA?aAeEy 3/4 Y.

       Encode NOEiA??eO?O(R)IAA? 1/4 oIaO?IAuA?aAe? 1/2 E 1/2  ('gb2312' ?iE 3/4  'euc-cn'):

           euc-cn      Unix NOEixO?u 1/4 ?, O? 3/4 IECEx?AEuA?u?eAe
           gb2312-raw  I? 3/4 -??AiuA (uI?EI?) GB2312 xO?u?i
           gb12345     I? 3/4 -??AiuAO??uOA??IaO?IA?aAe
           iso-ir-165  GB2312 + GB6345 + GB8565 + ?AOoxO?u
           cp936       xOAeO? 936, O??EOOOA 'GBK' (A(C)?a?u?eAe) O,A?
           hz          7 ?EI?OY?oE 1/2  GB2312 ?aAe

        3/4 UAyA?Eu,  1/2 << EUC-CN ?aAeuAuu?,x??E Unicode, io?e 1/4 uEeIAA?O,Ai:

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

       Perl O?AU, 1/2 AE "piconv", O>>O?IeE<<OO Perl ???EuAxO?ux?>>>>?? 3/4 ss?I?o, OA??EcIA:

           piconv -f euc-cn -t utf8 < file.euc-cn > file.utf8
           piconv -f utf8 -t euc-cn < file.utf8 > file.euc-cn

       AiIa, AuOA encoding A??e, Aa?EOOCaOx???oOOxO?uI?u?I>>uA?I?oAe, EcIAEuE 3/4 :

           #!/usr/bin/env perl
           # AEo?? euc-cn xO?(R) 1/2 aIo; ?ex 1/4 Ea?oEe 1/4 ??ex 1/4 ?iIo? 1/4 EeI? euc-cn ?aAe
           use encoding 'euc-cn', STDIN => 'euc-cn', STDOUT => 'euc-cn';
           print length("AaeIO");            #  2 (E<<Oy?A?iE 3/4 xO?u)
           print length('AaeIO');            #  4 (u?Oy?A?iE 3/4 xO 1/2 U)
           print index("x>>x>> 1/2 I>>a", ">>x>> 1/2 "); # -1 (?>>?u???ExOxO?u?(R))
           print index('x>>x>> 1/2 I>>a', '>>x>> 1/2 '); #  1 (?OuU??,oxO 1/2 U??E 1/4 )

       OUxi?oO>>A?AyxOAi, "x>>" uAuU??,oxO 1/2 UOe "x>>" uAuUO>>,oxO 1/2 U 1/2 a?I?E EUC-CN AeuA ">>x"; "x>>" uAuU??,oxO 1/2 UOoOe " 1/2 I"
       uAuUO>>,oxO 1/2 U 1/2 a?I?E ">> 1/2 ".  Oa 1/2 a 3/4 oAEOOC? EUC-CN Ae?E?O??AiEI?? 1/4 uuAIEIa.

       ?iIauAO?IA?aAe

       Ec?u?eO?,u?auAO?IA?aAe, ?EOO?O CPAN (<http://www.cpan.org/>;) IAO? Encode::HanExtra A??e.
       EuA?C?Ia?(C)IAA??aAe? 1/2 E 1/2 :

           gb18030     A(C)?a?yuA?u?eAe, ?u????IaO?IA

       AiIa, Encode::HanConvert A??eOoIa?(C)AE 1/4 o??x?>>>>OAuAA 1/2 OO?aAe:

           big5-simp   Big5 ??IaO?IAOe Unicode  1/4 oIaO?IA>>?x?
           gbk-trad    GBK  1/4 oIaO?IAOe Unicode ??IaO?IA>>?x?

       EoIeOU GBK Oe Big5 O(R) 1/4 a>>?x?, Ce?I? 1/4 ,AA??eAU, 1/2 uA b2g.pl Oe g2b.pl A 1/2 O??I?o, >>oOU?I?oAUE?OAIAA?????:

           use Encode::HanConvert;
           $euc_cn = big5_to_gb($big5); # ?O Big5 x?I? GBK
           $big5 = gb_to_big5($euc_cn); # ?O GBK x?I? Big5

        1/2 1/2 ?O>>>? 1/2 1/2 uA?AI?

       Ce?I? 1/4  Perl AU, 1/2 uA?oA?EuA?IA 1/4 ? (?>>?OE<<ECOAO?IA??uA), A?N?I?,u?a??OU Perl uAO?E?, OO 1/4 ? Unicode uAE?OA? 1/2 E 1/2 . ?>>?y,
       Ia??uAxEO?Iau??a,>>:

       Ia?(C(C) Perl xEO?uAI?O?


       <http://www.perl.com/>;
           Perl uAExO? (OEA?A?An?<<E 3/4 I?>>?)

       <http://www.cpan.org/>;
           Perl xU?Iua??I? (Comprehensive Perl Archive Network)

       <http://lists.perl.org/>;
           Perl OEuYAUI?O>>AA

       N?I? Perl uAI?O?


       <http://www.oreilly.com.cn/html/perl.html>;
            1/4 oIaO?IA?aeuAA?A?An Perl Ee 1/2 a

       Perl E?OAOsss 1/4 1/4 ?>>>a


       <http://www.pm.org/groups/asia.shtml#China>;
           O??u Perl IAE?axeO>>AA

       Unicode Ia??I?O?


       <http://www.unicode.org/>;
           Unicode N?EoN?>>a (Unicode ?ex 1/4 uAOAE??Oss)

       <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
           Unix/Linux EIuA UTF-8  1/4 ? Unicode ???IIE

SEE ALSO
       Encode, Encode::CN, encoding, perluniintro, perlunicode

AUTHORS
       Jarkko Hietaniemi <jhiATiki.fi>

       Autrijus Tang (IAExU??) <autrijusATautrijus.org>



perl v5.8.8                       2006-01-07                         PERLCN(1)