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).



PERLKO(1)                             Perl Programmers Reference Guide                             PERLKO(1)



NAME
       perlko - Perlo +-13/4 

DESCRIPTION                            _
       Perl 1/41/4o 1/2 o>>  '' !
                            _                                                    _                 _
       Perlo 5.8.0AEo  '/ISO 10646 ' +-1S >> ''.   '   ,.
       B>> o. 1/41/4o o+-11/4  '  3/42o 3/4o +- 3,(R) 3/42o '
       1/4,1o >> ''.   ''  1/41/4o1/4 3/42' , 3/43/4,| S +-1/4o +1/4o
       1/4o -  .' 9|AE3/4 3/4AEoa, o,+- 3/4AEoa, +-x,(R)1/2o 3/4AEoa,  32
       3/4AE1/23/4AE o9|1 o 1/2o(C),3AE(R), 3/4AE9| 1(R), -:-o,(R) 1(R), B ,
       +-13/4 +-, o>>3/4 o3a, o1 3/4 +- 1/4o -,| 1/4'_o>> ,. o
       +- 9|S1(R) +-, 3/42'  o 3/43/4 1x +-1o +-x,(R)o  1/4o o  1(R) o
        3/4 1/4 ' , +-' 1o.o  +-, 1(R) 1/4 o  3/4' 3/4AE
       ,1o +-,|  AE-:-o 1/2''.
                           _
       Perlo 3>>o,.  ',| 1(R) >> S >>''. o,' +-,1/4,. ,>>, Perl
       1/2o(C),3AE(R) 3/41/4  UTF-8 1(R)>> 3/4 1/4 o, o3/4 1/4 ~>>(1,| 3/4,
       +-1/2, index, substr)o 1AE(R) 'S '1/2_ ' +- 'S. ''. (' 1/41/4
       oo perlunicode ,'o3/4>> o1/21/2.)  'o 3,(R) o,+-+-  3,(R) 3/42o
       3/4o, (C)-:- 3,(R) 3/42o ' o+-1/o 3/43/4oo ,. .>> o 
       ,.   1(R)1/4,| '.' o>>_1/2+- S 'Encode'o  3/42'1/2''. 1<<3/4o,'
       'Encode',|  1/21/4 1/4,1o  >> o  >> 1/2+-o  1/4 1/2''.

       'Encode'' '1/2o ooo +-13/4 >> ''.

       euc-kr
             US-ASCII KS X 1001>> oo 3/42' ,AE1/41AE(R)  (-:- 1/4o9|o
             o,2.) KS X 2901o RFC 1557 o.

       cp949
                   MS-Windows 9x/ME1/4 3/42' (R) 1/4o.  euc-kr 8,822
                   +- 1/2>> ' o.  alias' uhc, windows-949, x-windows-949,
                   ks_c_5601-1987. , ,9|,. ,So  3/4o ,S,,, Microsoft
                   |o1/4 CP949 1. 3/42o 1/2.

       johab
                   KS X 1001:1998 o. 31/4 +- 9|.  1(R) .1AE,(R)' cp949
                   ,9|o. US-ASCII  KS X 1001 8,822 +- 1/2>> ' o.
                    1ae1/2o  ',S.

       iso-2022-kr                                                 _
                   RFC 15571/4 +- +-13/4 3 , +-3  ,. US-ASCII
                   KS X 1001>> .1AE,(R). ' 1/4 euc-kro oo,,  1ae1/2 ',S.
                   1997-83 oae+- 3/42',3a ' >> , +-3  3/42 3/41/2.

       ksc5601-raw
                   KS X 1001(KS C 5601)>> GL(, MSB,| 0,.  oae)  33/4>> 9|S
                   . US-ASCII o 3/4o '9|,. 3/42' o X11 1/4 +-2
                    (ksc5601.1987-0. '0'o GL>> 1.),. 3/42' o>> |o'
                   o 3/41/2. KS C 5601o 19973 KS X 1001. ,S>> 123/41/2.  19983'  
                   +- ( . o . >> o)o '31/2.

        , o >> 1|,| 3/4AE. o,''.
                                                           _ _
       1,| 3/4, euc-kr ,.  AE>> UTF-8. o  ., '1/2o oo , ''.

           perl -Mencoding=euc-kr,STDOUT,utf8 -pe1  < file.euckr > file.utf8
          _ _
       ao  o '1/2o oo  1/4 1/2''.

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

         .+- o  >> >>' AE,(R)o  1/4 . Encode ,>> 1/21/4
       1/41/4o Perl.,, 3/42 piconvo Perl 3/4 1/2''.
       +-x ,S1/4 3/4 1/4  piconv' Unix ' iconv,|
       ,".  o''. +-x >>1o 3/4AE. oo1/2''.

          piconv -f euc-kr -t utf8 < file.euckr > file.utf8
          piconv -f utf8 -t euc-kr < file.utf8 > file.euckr

         9|, 'PerlIO::encoding' ,>> 1/21/4 +-13/4 >> 3/42,1/4 +- 'S
       (1AE(R) 'So 3/4AE'9|) 3,(R),| 1/2+-o  1/4 1/2''.

         #!/path/to/perl

         use encoding 'euc-kr', STDIN => 'euc-kr',
                                STDOUT-> 'euc-kr', STDERR=>'euc-kr';

         print length("o3a");        # 2  (<< ' +- 'S 3,(R),| 1/2)
         print length('o3a');        # 4  (o ' 1AE(R) 'S 3,(R),| 1/2)
         print index("o, 'o", "o");   # -1 ('o' 3/41/2)
         print index('o, 'o', 'o');   # 7 (81o 91o 1AE(R)o 'o'
                                                   oao .)

       'oo AAUU1/41/4EE-:- 3/4EEoii 1/2IIAA,,ee...

         Perl>> 1/43,  ''-:- 1/41/4 1(R)1/4o oo 9| ,,  1(R)1/4,| 
       Perl 1 >> 3/4AE'9|  ' , Encode >>1  ,1o o>>
       1 1/4 1/2''.  3/4AE-:-  1(R)1/4'  , 3/4. 3/42(C) 1/2''.

       Perl ouu.AA AAUU.aa

       S1/4 3/4+-  1(R)1/4  '1/2o ooo .o 1/2''.  ,.o o  o
       3/4AE'o o ' o,, ,o o''.

       <http://www.perl.com/
              O'Reilly Perl  AE

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

       <http://lists.perl.org/
             Perl ,, ,(R)1/2oAE(R). ,1o ,(R)1/2oAE(R) o
             perl-unicode1/4 'Encode' ' 3.

       PerlAA>> 'oo +-iioOO oooooIICCII'AAuuYY uuuuccooAA>> AAUU 1/4oo AAOO'AA CCNN+-13/4ii ouu.AA >>ccAAIIAE(R)


       <http://www.perl.or.kr/
             Perl +-1 >> ,

       <news:han.comp.lang.perl/
             +-13/4 Perl 'o1/2o +-x.

       <http://seoul.pm.org/
             Perl ,o1/2o (1/4)

       <http://www.perlmania.or.kr/
             Home for Korean Perlmanias

       <http://www.oreilly.co.kr/perl/
             O'Reilly1/4 3a +-13/4 Perl 1/4 ,.

       <http://www.perlschool.net/
             Perl +- o 1x 1/41/2o, +- , o.  >>AE(R) ,(C)

       <http://www.perl.co.kr
             Perl o. CGI, DB, ~  '  o, 1x 'o1/2o |o
        _
       AA 'IIAAUUuuaa 1x CCNN+-13/4ii AAIIAAUUuuuu ouu.AA AAUU.aa


       <http://www.unicode.org/
              ' 1/41/23/4.

       <http://std.dkuug.dk/JTC1/SC2/WG2
           +-o>>,. Unicode ooo ISO   ISO/IEC 10646 UCS(Universal Character Set)>> ,,'
           ISO/IEC JTC1/SC2/WG2  AE.

       <http://jshin.net/faq/qa8.html
             +-13/4 1(R)  1x  ' 3/43>>.

       <http://www.cl.cam.ac.uk/~mgk25/unicode.html
              '1/2o/,(R)'a1/2o1/4  ' UTF-8 >> ' 1(R)'(FAQ)

       <http://kldp.org/Translations/html/UTF8-Unicode-KLDP/UTF8-Unicode-KLDP.html
              '1/2o/,(R)'a1/2o1/4  ' UTF-8 >> ' 1(R)'(FAQ)  +-13/4 1a

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

AUTHORS
       Jarkko Hietaniemi <jhi@iki.fi> 1/21/2 <jshin@mailaps.org>



perl v5.8.8                                      2006-01-07                                        PERLKO(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.