MirOS Manual: perljp(1)


README.JP(1)    Perl Programmers Reference Guide     README.JP(1)

NAME

     perljp - F|K8l Perl %,%$%I

@bL@
     Perl $N@$3&$X$h$&$3$=!

     Perl 5.8.0
     $h$j!"Unicode%5%]!<%H$,BgI}$K6/2=$5$l!"$=$N7k2L%i%F%sJ8;z0J30$NJ8;z%3!<%I$N%5%]!<%H$,
     CJK
     (Cf9q8l!"F|K8l!"%O%s%0%k)$r4^$a$F2C$o$j$^$7$?!#Unicode$O@$3&Cf$NJ8;z$r0l$D$NJ8;z%3!<%I$G07$&$3$H$rL;X$7$?I8=`5,3J$G$"$j!"El$+$i@>!"$O$?$^$?$=$N4V$NJ8;z!J%.%j%7%cJ8;z!"%-
     %j!<%kJ8;z!"%"%i%S%"J8;z!"%X%V%i%$J8;z!"%G%#!<%t%!%J%,!<%jJ8;z!"$J$I$J$I!K$d!"$3$l$^$G$OOS%Y%s%@!<$,FH<+$KDj$a$F$$$?J8;z(PC$*$h$SMacintosh)$,$9$G$K4^$^$l$F$$$^$9!#

     Perl <+?H$O Unicode $GF0:n$7$^$9!#Perl
     %9%/%j%W%HFb$NJ8;zNs%j%F%i%k$d@55,I=8=$O Unicode
     $rA0Ds$H$7$F$$$^$9!#$=$7$FF~=PNO$N$?$a$K$O!"$3$l$^$G;H$o$l$F$-
     $?$5$^$6$^$JJ8;z%3!<%I$KBP1~$9$k%b%8%e!<%k!"!V Encode
     !W$,I8=`AuHw$5$l$F$*$j!"Unicode
     $H$3$l$i$NJ8;z%3!<%I$NAj8_JQ49$b4JC1$K9T$($k$h$&$K$J$C$F$$$^$9!#

     8=;~E@$G Encode $,%5%]!<%H$9$kJ8;z%3!<%I$O0J2<$N$H$*$j$G$9!#

       7bit-jis      AdobeStandardEncoding AdobeSymbol       AdobeZdingbat
       ascii             big5              big5-hkscs        cp1006
       cp1026            cp1047            cp1250            cp1251
       cp1252            cp1253            cp1254            cp1255
       cp1256            cp1257            cp1258            cp37
       cp424             cp437             cp500             cp737
       cp775             cp850             cp852             cp855
       cp856             cp857             cp860             cp861
       cp862             cp863             cp864             cp865
       cp866             cp869             cp874             cp875
       cp932             cp936             cp949             cp950
       dingbats          euc-cn            euc-jp            euc-kr
       gb12345-raw       gb2312-raw        gsm0338           hp-roman8
       hz                iso-2022-jp       iso-2022-jp-1     iso-8859-1
       iso-8859-10       iso-8859-11       iso-8859-13       iso-8859-14
       iso-8859-15       iso-8859-16       iso-8859-2        iso-8859-3
       iso-8859-4        iso-8859-5        iso-8859-6        iso-8859-7
       iso-8859-8        iso-8859-9        iso-ir-165        jis0201-raw
       jis0208-raw       jis0212-raw       johab             koi8-f
       koi8-r            koi8-u            ksc5601-raw       MacArabic
       MacCentralEurRoman  MacChineseSimp    MacChineseTrad    MacCroatian
       MacCyrillic       MacDingbats       MacFarsi          MacGreek
       MacHebrew         MacIcelandic      MacJapanese       MacKorean
       MacRoman          MacRomanian       MacRumanian       MacSami
       MacSymbol         MacThai           MacTurkish        MacUkrainian
       nextstep          posix-bc          shiftjis          symbol
       UCS-2BE           UCS-2LE           UTF-16            UTF-16BE
       UTF-16LE          UTF-32            UTF-32BE          UTF-32LE
       utf8              viscii

perl v5.8.8                2006-06-30                           1

README.JP(1)    Perl Programmers Reference Guide     README.JP(1)

     (A4114<oN`)

     Nc$($P!"J8;z%3!<%IFOO$N%U%!%$%k$rUTF-8$KJQ49$9$k$K$O!"0J2<$N$h$&$K$7$^$9!#

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

     $^$?!"Perl$K$O!"A4It$,Perl$G=q$+$l$?J8;z%3!<%IJQ49%f!<%F%#%j%F%#!"piconv$bIUB0$7$F$$$k$N$G!"0J2<$N$h$&$K$9$k$3$H$b$G$-
     $^$9!#

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

     About (jcode.pl|Jcode.pm|JPerl)

     5.80JA0$N!"%9%/%j%W%H$,EUC-JP$G$"$l$P%j%F%i%k$@$1$O07$&$3$H$,$G$-
     $^$7$?!#$^$?!"F~=PNO$r07$&%b%8%e!<%k$H$7$F$OJcode.pm$,(
     http://openlab.jp/Jcode/
     )!"perl4MQ$N%f!<%F%#%j%F%#$H$7$F$Ojcode.pl(
     http://srekcah.org/jcode/
     )$,$=$l$>$lB8:_$7!"F|K8l$N07$($kCGI$G$h$/MxMQ$5$l$F$$$k$3$H$r8fB8$8$NJ}$b>/$J$/$J$$$+$H;W$o$l$^$9!#$?$@$7!"F|K8l$K$h$k@55,I=8=$r$&$^$/07$&$3$H$OIT2DG=$G$7$?!#

     5.0050JA0$NPerl$K$O!"F|K8l$KFC2=$7$?%m!<%+%i%$%:HG!"Jperl$,B8:_$7$^$7$?(
     http://homepage2.nifty.com/kipp/perl/jperl/index.html
     )!#$^$?!"Mac OS
     9.x/ClassicMQ$NPerl!"MacPerl$NF|K8lHG$bMacJPerl$H$7$FB8:_$7$F$^$7$?!#(
     http://world.std.com/~habilis/macjperl/
     ).$3$l$i$G$OJ8;z%3!<%I$H$7$FEUC-JP$K2C$(Shift_JIS$b$=$N$^$^07$&$3$H$,$G$-
     !"$^$?F|K8l$K$h$k@55,I=8=$r07$&$3$H$b2DG=$G$7$?!#

     Perl5.8$G$O!"$3$l$i$N5!G=$,$9$Y$FPerlKBN$@$1$G<B8=$G$-
     $k>e$K!"F|K8l$N$_$J$i$:>e5-
     114$NJ8;z%3!<%I$r$9$Y$F!"$7$+$bF1;~$K07$&$3$H$,$G$-
     $^$9!#$5$i$K!"CPAN$J$I$+$i?7$7$$J8;z%3!<%IMQ$N%b%8%e!<%k$rF~<j$9$k$3$H$b4JC1$K$G$-
     $k$h$&$K$J$C$F$$$^$9!#

     +   F~=PNO

         0J2<$NNc$O$$$E$l$bShift_JIS$NF~NO$rEUC-JP$KJQ49$7$F=PNO$7$^$9!#

perl v5.8.8                2006-06-30                           2

README.JP(1)    Perl Programmers Reference Guide     README.JP(1)

           # jcode.pl
           require "jcode.pl";
           while(<>){
             jcode::convert(*_, 'euc', 'sjis');
             print;
           }
           # Jcode.pm
           use Jcode;
           while(<>){
                 print Jcode->new($_, 'sjis')->euc;
           }
           # Perl 5.8
           use Encode;
           while(<>){
             from_to($_, 'shiftjis', 'euc-jp');
             print;
           }
           # Perl 5.8 - encoding $rMxMQ$7$F
           use encoding 'euc-jp', STDIN => 'shiftjis';
           while(<>){
                 print;
           }

     +   Jperl 8_49%9%/%j%W%H

          $$$o$f$k"shebang"$rJQ99$9$k$@$1$G!"JperlMQ$Nscript$N$[$H$s$I$OJQ99$J$7$KMxMQ2DG=$@$H;W$o$l$^$9!#

            #!/path/to/jperl
            "-
            #!/path/to/perl -Mencoding=euc-jp

          >$/$O perldoc encoding $r;2>H$7$F$/$@$5$$!#

     $5$i$K>$/

     Perl$K$OKDBg$J;qNA$,IUB0$7$F$*$j!"Perl$N?75!G=$dUnicode%5%]!<%H!"$=$7$FEncode%b%8%e!<%k$N;HMQK!$J$I$,:Y$+$/LVMe$5$l$F$$$^$9!J;DG0$J$,$i!"$[$H$s$I1Q8l$G$O$"$j$^$9$,!K!#0J2<$N%3%^%s%I$G$=$l$i$N0lIt$r1Mw$9$k$3$H$,2DG=$G$9!#

       perldoc perlunicode # Perl$NUnicode%5%]!<%HA4HL
       perldoc Encode      # Encode%b%8%e!<%k$K4X$7$F
       perldoc Encode::JP  # $&$AF|K8lJ8;z%3!<%I$K4X$7$F

     PerlA4HL$K4X$9$k URL

     <http://www.perl.com/>
         Perl %[!<%`%Z!<%8 (O'Reilly and Associates)

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

     <http://lists.perl.org/>
         Perl %a!<%j%s%0%j%9%H=8

perl v5.8.8                2006-06-30                           3

README.JP(1)    Perl Programmers Reference Guide     README.JP(1)

     Perl$N=$F@$KLrN)$D URL

     <http://www.oreilly.com.tw/chinese/>
         O'Reilly <R$NPerl4XO"=q@R(HKBN;zCf9q8l)

     <http://www.oreilly.com.cn/chinese/>
         O'Reilly <R$NPerl4XO"=q@R(4JBN;zCf9q8l)

     <http://www.oreilly.co.jp/catalog.htm>
         %*%i%$%j!<<R$NPerl4XO"=q@R(F|K8l)

     Perl %f!<%6!<%0%k!<%W

     <http://www.pm.org/groups/asia.shtml#China>
         Cf9q!JCf2Z?ML16&OB9q!K

     <http://www.pm.org/groups/asia.shtml#Japan>
         F|K.IP
         "<http://www.pm.org/groups/asia.shtml#Korea%20(Republic%20of)>"
         4 4Z9q!JBg4ZL19q!K

     <http://www.pm.org/groups/asia.shtml#Taiwan>
         BfOQ!JCf2ZL19q!K

     Unicode4XO

     <http://www.unicode.org/>
         Unicode %3%s%=!<%7%"%` (Unicode5,3J$NA*DjCDBN)

     <http://www.cl.cam.ac.uk/%7Emgk25/unicode.html>
         UTF-8 and Unicode FAQ for Unix/Linux

     <http://kldp.org/Translations/html/UTF8-Unicode-KLDP/UTF8-Unicode-KLDP.html>
         UTF-8 and Unicode FAQ for Unix/Linux (%O%s%0%kLu)

AUTHORS

     Jarkko Hietaniemi <jhi@iki.fi> Dan Kogai (>.;t!!CF)
     <dankogai@dan.co.jp>

perl v5.8.8                2006-06-30                           4

Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.