Quick ?s
Cheat Sheets
Man Pages
The Lynx
Software
PERLTW(1)	       Perl Programmers Reference Guide 	     PERLTW(1)



NAME
       perltw -  Perl n

DESCRIPTION
       w Perl a!

       q 5.8.0 }l, Perl F Unicode (UX) ,
       ]saF\hBytH~sX; CJK () KO@.
       Unicode O, [\@Wr: @, F@,
       H@ (, Q, B, B, L,
       Law, ). ]eFh@~tPO (p PC ).

       Perl H Unicode i@. o Perl ri Unicode
       ; Perl P (pW) ] Unicode i@.
       bJX, FBzH Unicode esXxs, Perl
       F Encode o, iHAagJsX.

       Encode UCsX (big5  big5-eten):

	   big5-eten   Big5 sX (tr)
	   big5-hkscs  Big5 + ~r, 2001 ~
	   cp950       rX 950 (Big5 + LnK[r)

       |, N Big5 sX Unicode, JUCO:

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

       Perl ]F "piconv", @H Perl gru{,
       kpU:

	   piconv -f big5 -t utf8 < file.big5 > file.utf8
	   piconv -f utf8 -t big5 < file.utf8 > file.big5

       t~, Q encoding , AiHgXHr{X, pU:

	   #!/usr/bin/env perl
	   #  big5 rR; XJ~] big5 sX
	   use encoding big5, STDIN => big5, STDOUT => big5;
	   print length("dm");		  #  2 (r)
	   print length(dm);		#  4 ()
	   print index("", ""); # -1 (]tlr)
	   print index(, ); #  1 (qG}l)

       b@Cl, "" GP "" @X Big5
       X ""; "" GhP "" @X "".
       oMFHe Big5 XBzWD.

       B~sX

       pGnhsX, iHq CPAN () U
       Encode::HanExtra . eUCsX:

	   cccii       1980 ~|TX
	   euc-tw      Unix r, ]t CNS11643  1-7
	   big5plus    Ns| Big5+
	   big5ext     Ns| Big5e

       t~, Encode::HanConvert hFcsX:

	   big5-simp   Big5 P Unicode
	   gbk-trad    GBK P Unicode

       YQb GBK P Big5 ,  b2g.pl P g2b.pl
       {, b{UCgk:

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

       i@BT

	Perl jq (O^g), h
       Perl , H Unicode . L, ~I:

	Perl }


       
	   Perl  (q@)

       
	   Perl X (Comprehensive Perl Archive Network)

       
	   Perl l@

	Perl }


       
	    Perl

       
	   OW Perl suQ (]NOUj BBS  Perl su)

       Perl |


       
	   OW Perl s@

       
	   uW

       Unicode }


       
	   Unicode N| (Unicode w)

       
	   Unix/Linux W UTF-8  Unicode

       T


       s "" s "c"?
	   

       np
	   

       Linux np
	   

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

AUTHORS
       Jarkko Hietaniemi 

       Autrijus Tang (v~) 



perl v5.8.8			  2008-04-25			     PERLTW(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