Quick ?s
Cheat Sheets
Man Pages
The Lynx
Software
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
	 .    .

	  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

	       .
	      .

       
	      OReilly Perl

       
		   Comprehensive Perl Archive Network

       
	     Perl  .
	     perl-unicode Encode  .

       Perl


       
	     Perl

       
	      Perl

       
	     Perl  ()

       
	     Home for Korean Perlmanias

       
	     OReilly   Perl

       
	     Perl    ,	,

       
	     Perl  CGI, DB,




       
	      .

       
	    Unicode  ISO   ISO/IEC 10646 UCS(Universal
	   Character Set)   ISO/IEC JTC1/SC2/WG2  .

       
		   .

       
	     /	UTF-8	(FAQ)

       
	     /	UTF-8	(FAQ)

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

AUTHORS
       Jarkko Hietaniemi   



perl v5.8.8			  2008-04-25			     PERLKO(1)




Yals.net is © 1999-2009 Crescendo Communications
Sharing tech info on the web for more than a decade!
This page was generated Thu Apr 30 17:05:21 2009