Seth Woolley's Man Viewer

perlko(1) - perlko - Perl과 한국어 인코딩 - man 1 perlko

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

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



NAME
       perlko - Perl  

DESCRIPTION
       Perl     !

       Perl 5.8.0 /ISO 10646    .
               
               .
                -  
       ,  ,  ,     
       ,  ,  ,  ,  ,
        ,     -    
                   
                   
               .

       Perl      . 
         Perl    UTF-8    , 
        ( , , index, substr)   
          . (   perlunicode 
       .)       , 
          /     
               'Encode'
       .  'Encode'       
         .

       'Encode'     .

       euc-kr
             US-ASCII KS X 1001     ( 
             .) KS X 2901 RFC 1557 .

       cp949
                   MS-Windows 9x/ME   .  euc-kr 8,822
                      .  alias uhc, windows-949, x-windows-949,
                   ks_c_5601-1987.      , Microsoft
                    CP949   .

       johab
                   KS X 1001:1998  3  .    cp949
                    US-ASCII  KS X 1001 8,822    .
                      .

       iso-2022-kr
                   RFC 1557       US-ASCII
                   KS X 1001    euc-kr    .
                   1997-8        .

       ksc5601-raw
                   KS X 1001(KS C 5601) GL(, MSB 0  )   
                   . US-ASCII      X11  
                    (ksc5601.1987-0. '0' GL .)   
                    . KS C 5601 1997 KS X 1001  .  1998  
                    (    ) .

             .

        , euc-kr    UTF-8   
        .

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

            .

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

                Encode  
        Perl  piconv Perl  .
            piconv Unix  iconv(1,3)
         .    .

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

         , 'PerlIO::encoding'       
       (  )     .

         #!/path/to/perl

         use encoding(3,n) 'euc-kr', STDIN => 'euc-kr',
                                STDOUT-> 'euc-kr', STDERR=>'euc-kr';

         print length("");        # 2  (     )
         print length('');        # 4  (     )
         print index(", ", "");   # -1 ('' )
         print index(', ', '');   # 7 (8 9  ''
                                                    .)

          ...

         Perl        ,   
       Perl     , Encode    
         .         .

       Perl  

               .   
              .

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

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

       <http://lists.perl.org/>
             Perl  .   
             perl-unicode 'Encode'  .

       Perl          


       <http://www.perl.or.kr/>
             Perl   

       <news:han.comp.lang.perl/>
              Perl  

       <http://seoul.pm.org/>
             Perl  ()

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

       <http://www.oreilly.co.kr/perl/>
             O'Reilly   Perl  

       <http://www.perlschool.net/>
             Perl    ,  ,    

       <http://www.perl.co.kr>
             Perl  CGI, DB,        

            


       <http://www.unicode.org/>
              .

       <http://std.dkuug.dk/JTC1/SC2/WG2>
            Unicode  ISO   ISO/IEC 10646 UCS(Universal
           Character Set)   ISO/IEC JTC1/SC2/WG2  .

       <http://jshin.net/faq/qa8.html>
                   .

       <http://www.cl.cam.ac.uk/~mgk25/unicode.html>
             /  UTF-8   (FAQ)

       <http://kldp.org/Translations/html/UTF8-Unicode-KLDP/UTF8-Uni-
       code-KLDP.html>
             /  UTF-8   (FAQ)   

SEE ALSO
       Encode, Encode::KR, encoding(3,n), perluniintro, perlunicode

AUTHORS
       Jarkko Hietaniemi <jhi@iki.fi>  <jshin@mailaps.org>



perl v5.8.5                       2004-04-23                         PERLKO(1)

References for this manual (incoming links)