DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

perlko(1)





NAME

       perlko - Perl


DESCRIPTION

       Perl     !

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

       Perl      .   Perl    UTF-8    ,   ( , , index, substr)     . ( perlu-
       nicode  .)    ,     / '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
         .    .

          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 '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, perluniintro, perlunicode


AUTHORS

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

perl v5.8.8                       2006-06-14                         PERLKO(1)

Man(1) output converted with man2html