ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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



NAME
       perlcn - 1/4 Perl ,

DESCRIPTION
       >>9|'1/2 Perl !

       ' 5.8.0 oaea1/4, Perl 3/4B+-,AE Unicode (3>>) S(R), 2~'S(R)9|-9|+-.1/21/2; 2~'S(R)9|9|+-.1/21/2;
       9|+-.1/21/2; CJK (o<<) +-AE>>2..  Unicode 11/4+-x1/4, 1/4o-,1/2x.: 1/4o,1/2x.:
       ,1/2x.: -:-.1/21/2, 9|<<.1/21/2, 1/4o1/2B1/4>> (o, , -2(R), ,2(R),
       2(R), 2(R)', 9|, o2, ). 29|x-:-3AE1/2" ( PC
       1/4o1/2).

       Perl +-3/4 Unicode 1/22x-:-. +-3/4 Perl 2x.'(R)3/4 Unicode +-3/4; Perl
       o 1/2. (1ae+-3/41/2+-9|) 29| Unicode 1/22x-:-.  1/4o3+-,
       a'| Unicode (R)o+-.1/21/2'ae.3/4, Perl 1(C) Encode ,,
       x9|1/4o'3/4+-3/4.

       Encode S(R)1/4+-.1/21/2 ('gb2312' +-3/4 'euc-cn'):
                                       _
           euc-cn      Unix x.1/4 , 23/4x3AE1+-gb2312-raw 23/4x3AE1+gb2312-raw
           gb2312-raw  '3/4'| (+-) GB2312 x.+-gb12345 x.+gb12345
           gb12345     '3/4'|1.+-+-iso-ir-165 '3/4'|1.+-+iso-ir-165
           iso-ir-165  GB2312 + GB6345 + GB8565 + x.
           cp936       x3 936, 2 'GBK' ((C)31+-) ,-:-hz ,-:hz
           hz          7 +-31/2 GB2312 +-3/4', +3/4',

       3/4', 1/2<< EUC-CN +-o,xa3 Unicode, 1/4,:

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

       Perl 2,1/2 "piconv", >>S<< Perl '3x.xa>>>>13/4B3, .":

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

       ,  encoding , x'3x.a>>3, 3/4:

           #!/usr/bin/env perl
           # AE9|  euc-cn x'(R)1/2; +-x1/431/4o+-x1/4'9|1/4a euc-cn +-use +use
           use encoding 'euc-cn', STDIN => 'euc-cn', STDOUT => 'euc-cn';
           print length("ae");            #  2 (<<o+-3/4x.)
           print length('ae');            #  4 (o+-3/4x1/2)
           print index("x>>x>>1/2>>", ">>x>>1/2"); # -1 (2>>oo~'xx.'(R))
           print index('x>>x>>1/2>>', '>>x>>1/2'); #  1 ('9|,x1/2a1/4)

       xo>>x, "x>>" 9|,x1/2 "x>>" >>,x1/21/2o3 EUC-CN  ">>x"; "x>>"
       9|,x1/2 "1/2" >>,x1/21/2o3 ">>1/2".  1/23/4o EUC-CN
       +-9|'|31/4.

       9|iiIIaauuAAOODDIIAA+-aaAAee

       1a,9|+-, ' CPAN (<http://www.cpan.org/)  Encode::HanExtra .
       o1(C)+-.1/21/2:

           gb18030     (C)311+-, oo~.+-, oo~.+,

       , Encode::HanConvert 1(C)1/4.+-xa>>>>1/2+-:

           big5-simp   Big5 .+- Unicode 1/4>>xa
           gbk-trad    GBK 1/4 Unicode .+->>xa

        GBK  Big5 (R)1/4>>xa, 21/4,,1/2 b2g.pl  g2b.pl 1/2S3,
       >>31'.":

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

       1/2ooOO>>21/2uuAADDAAIIcc

       21/4 Perl ,1/2'-:-1/4 (2>><<'), 'So,9|1 Perl a9|, 1/4o
       Unicode 1.1/21/2. 2>>1, 2x'+-.,>>:

       IIaa1(C) Perl xEEOO'uuAAIIooOO.


       <http://www.perl.com/
           Perl x3 (.31<<3/4~>>)

       <http://www.cpan.org/
           Perl xo2 (Comprehensive Perl Archive Network)

       <http://lists.perl.org/
           Perl 3>>

       NNSIIo Perl uuAAIIooOO.


       <http://www.oreilly.com.cn/html/perl.html
           1/4oae.3 Perl 1/2
                     _
       Perl EE1OOAAOOB1/4 >>aa


       <http://www.pm.org/groups/asia.shtml#China
           1 Perl AE1x>>

       Unicode IIaa1OOIIooOO.


       <http://www.unicode.org/
           Unicode SS>> (Unicode +-x1/4AE9|"B)

       <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html
           Unix/Linux  UTF-8 1/4o Unicode '

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

AUTHORS
       Jarkko Hietaniemi <jhi@iki.fi>

       Autrijus Tang (AExoo) <autrijus@autrijus.org>



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

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.