1*0Sstevel@tonic-gateIf you read this file _as_is_, just ignore the funny characters you 2*0Sstevel@tonic-gatesee. It is written in the POD format (see perlpod manpage) which is 3*0Sstevel@tonic-gatespecially designed to be readable as is. 4*0Sstevel@tonic-gate 5*0Sstevel@tonic-gateThe following documentation is written in euc-jp encoding. 6*0Sstevel@tonic-gate 7*0Sstevel@tonic-gate=head1 NAME 8*0Sstevel@tonic-gate 9*0Sstevel@tonic-gateperljp - ���ܸ� Perl ������ 10*0Sstevel@tonic-gate 11*0Sstevel@tonic-gate=head1 ���� 12*0Sstevel@tonic-gate 13*0Sstevel@tonic-gatePerl �������ؤ褦����! 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gatePerl 5.8.0 ��ꡢUnicode���ݡ��Ȥ������˶������졢���η�̥�ƥ�ʸ���ʳ���ʸ�������ɤΥ��ݡ��Ȥ� CJK (���졢���ܸ졢�ϥ�)��ޤ�Ʋä��ޤ�����Unicode���������ʸ�����Ĥ�ʸ�������ɤǰ������Ȥ��ܻؤ���ɸ�൬�ʤǤ��ꡢ�줫�������Ϥ��ޤ����δ֤�ʸ���ʥ��ꥷ��ʸ���������ʸ��������ӥ�ʸ�����إ֥饤ʸ�����ǥ��������ʥ�����ʸ�����ʤɤʤɡˤ䡢����ޤǤ�OS�٥�������ȼ������Ƥ���ʸ��(PC�����Macintosh)�����Ǥ˴ޤޤ�Ƥ��ޤ��� 16*0Sstevel@tonic-gate 17*0Sstevel@tonic-gatePerl ���Ȥ� Unicode ��ư��ޤ���Perl ������ץ����ʸ�����ƥ�������ɽ���� Unicode ������Ȥ��Ƥ��ޤ��������������ϤΤ���ˤϡ�����ޤǻȤ��Ƥ������ޤ��ޤ�ʸ�������ɤ��б�����⥸�塼�롢�� Encode �פ�ɸ����������Ƥ��ꡢUnicode �Ȥ�����ʸ�������ɤ�����Ѵ����ñ�˹Ԥ���褦�ˤʤäƤ��ޤ��� 18*0Sstevel@tonic-gate 19*0Sstevel@tonic-gate�������� Encode �����ݡ��Ȥ���ʸ�������ɤϰʲ��ΤȤ���Ǥ��� 20*0Sstevel@tonic-gate 21*0Sstevel@tonic-gate 7bit-jis AdobeStandardEncoding AdobeSymbol AdobeZdingbat 22*0Sstevel@tonic-gate ascii big5 big5-hkscs cp1006 23*0Sstevel@tonic-gate cp1026 cp1047 cp1250 cp1251 24*0Sstevel@tonic-gate cp1252 cp1253 cp1254 cp1255 25*0Sstevel@tonic-gate cp1256 cp1257 cp1258 cp37 26*0Sstevel@tonic-gate cp424 cp437 cp500 cp737 27*0Sstevel@tonic-gate cp775 cp850 cp852 cp855 28*0Sstevel@tonic-gate cp856 cp857 cp860 cp861 29*0Sstevel@tonic-gate cp862 cp863 cp864 cp865 30*0Sstevel@tonic-gate cp866 cp869 cp874 cp875 31*0Sstevel@tonic-gate cp932 cp936 cp949 cp950 32*0Sstevel@tonic-gate dingbats euc-cn euc-jp euc-kr 33*0Sstevel@tonic-gate gb12345-raw gb2312-raw gsm0338 hp-roman8 34*0Sstevel@tonic-gate hz iso-2022-jp iso-2022-jp-1 iso-8859-1 35*0Sstevel@tonic-gate iso-8859-10 iso-8859-11 iso-8859-13 iso-8859-14 36*0Sstevel@tonic-gate iso-8859-15 iso-8859-16 iso-8859-2 iso-8859-3 37*0Sstevel@tonic-gate iso-8859-4 iso-8859-5 iso-8859-6 iso-8859-7 38*0Sstevel@tonic-gate iso-8859-8 iso-8859-9 iso-ir-165 jis0201-raw 39*0Sstevel@tonic-gate jis0208-raw jis0212-raw johab koi8-f 40*0Sstevel@tonic-gate koi8-r koi8-u ksc5601-raw MacArabic 41*0Sstevel@tonic-gate MacCentralEurRoman MacChineseSimp MacChineseTrad MacCroatian 42*0Sstevel@tonic-gate MacCyrillic MacDingbats MacFarsi MacGreek 43*0Sstevel@tonic-gate MacHebrew MacIcelandic MacJapanese MacKorean 44*0Sstevel@tonic-gate MacRoman MacRomanian MacRumanian MacSami 45*0Sstevel@tonic-gate MacSymbol MacThai MacTurkish MacUkrainian 46*0Sstevel@tonic-gate nextstep posix-bc shiftjis symbol 47*0Sstevel@tonic-gate UCS-2BE UCS-2LE UTF-16 UTF-16BE 48*0Sstevel@tonic-gate UTF-16LE UTF-32 UTF-32BE UTF-32LE 49*0Sstevel@tonic-gate utf8 viscii 50*0Sstevel@tonic-gate 51*0Sstevel@tonic-gate(��114����) 52*0Sstevel@tonic-gate 53*0Sstevel@tonic-gate�㤨�С�ʸ��������FOO�Υե������UTF-8���Ѵ�����ˤϡ��ʲ��Τ褦�ˤ��ޤ��� 54*0Sstevel@tonic-gate 55*0Sstevel@tonic-gate perl -Mencoding=FOO,STDOUT,utf8 -pe1 < file.FOO > file.utf8 56*0Sstevel@tonic-gate 57*0Sstevel@tonic-gate�ޤ���Perl�ˤϡ�������Perl�ǽ줿ʸ���������Ѵ��桼�ƥ���ƥ���piconv����°���Ƥ���Τǡ��ʲ��Τ褦�ˤ��뤳�Ȥ�Ǥ��ޤ��� 58*0Sstevel@tonic-gate 59*0Sstevel@tonic-gate piconv -f FOO -t utf8 < file.FOO > file.utf8 60*0Sstevel@tonic-gate piconv -f utf8 -t FOO < file.utf8 > file.FOO 61*0Sstevel@tonic-gate 62*0Sstevel@tonic-gate=head2 About (jcode.pl|Jcode.pm|JPerl) 63*0Sstevel@tonic-gate 64*0Sstevel@tonic-gate5.8�����Ρ�������ץȤ�EUC-JP�Ǥ���Х�ƥ������ϰ������Ȥ��Ǥ��ޤ������ޤ��������Ϥ��⥸�塼��Ȥ��Ƥ�Jcode.pm��( http://openlab.jp/Jcode/ )��perl4�ѤΥ桼�ƥ���ƥ��Ȥ��Ƥ�jcode.pl( http://srekcah.org/jcode/ )�����줾��¸�ߤ������ܸ�ΰ�����CGI�Ǥ褯���Ѥ���Ƥ��뤳�Ȥ��¸�������⾯�ʤ��ʤ����Ȼפ��ޤ��������������ܸ�ˤ������ɽ���ޤ��������Ȥ��Բ�ǽ�Ǥ����� 65*0Sstevel@tonic-gate 66*0Sstevel@tonic-gate5.005������Perl�ˤϡ����ܸ���ò����������饤���ǡ�Jperl��¸�ߤ��ޤ���( http://homepage2.nifty.com/kipp/perl/jperl/index.html )���ޤ���Mac OS 9.x/Classic�Ѥ�Perl��MacPerl�����ܸ��Ǥ�MacJPerl�Ȥ���¸�ߤ��Ƥޤ�����( http://world.std.com/~habilis/macjperl/ ).�����Ǥ�ʸ�������ɤȤ���EUC-JP�˲ä�Shift_JIS�⤽�Τޤް������Ȥ��Ǥ����ޤ����ܸ�ˤ������ɽ�������Ȥ��ǽ�Ǥ����� 67*0Sstevel@tonic-gate 68*0Sstevel@tonic-gatePerl5.8�Ǥϡ������ε�ǽ�����٤�Perl���Τ����Ǽ¸��Ǥ����ˡ����ܸ�Τߤʤ餺�嵭114��ʸ�������ɤ٤ơ�������Ʊ���˰������Ȥ��Ǥ��ޤ�������ˡ�CPAN�ʤɤ��鿷����ʸ���������ѤΥ⥸�塼������ꤹ�뤳�Ȥ��ñ�ˤǤ���褦�ˤʤäƤ��ޤ��� 69*0Sstevel@tonic-gate 70*0Sstevel@tonic-gate=over 4 71*0Sstevel@tonic-gate 72*0Sstevel@tonic-gate=item * 73*0Sstevel@tonic-gate 74*0Sstevel@tonic-gate������ 75*0Sstevel@tonic-gate 76*0Sstevel@tonic-gate�ʲ�����Ϥ��Ť��Shift_JIS�����Ϥ�EUC-JP���Ѵ����ƽ��Ϥ��ޤ��� 77*0Sstevel@tonic-gate 78*0Sstevel@tonic-gate # jcode.pl 79*0Sstevel@tonic-gate require "jcode.pl"; 80*0Sstevel@tonic-gate while(<>){ 81*0Sstevel@tonic-gate jcode::convert(*_, 'euc', 'sjis'); 82*0Sstevel@tonic-gate print; 83*0Sstevel@tonic-gate } 84*0Sstevel@tonic-gate # Jcode.pm 85*0Sstevel@tonic-gate use Jcode; 86*0Sstevel@tonic-gate while(<>){ 87*0Sstevel@tonic-gate print Jcode->new($_, 'sjis')->euc; 88*0Sstevel@tonic-gate } 89*0Sstevel@tonic-gate # Perl 5.8 90*0Sstevel@tonic-gate use Encode; 91*0Sstevel@tonic-gate while(<>){ 92*0Sstevel@tonic-gate from_to($_, 'shiftjis', 'euc-jp'); 93*0Sstevel@tonic-gate print; 94*0Sstevel@tonic-gate } 95*0Sstevel@tonic-gate # Perl 5.8 - encoding �����Ѥ��� 96*0Sstevel@tonic-gate use encoding 'euc-jp', STDIN => 'shiftjis'; 97*0Sstevel@tonic-gate while(<>){ 98*0Sstevel@tonic-gate print; 99*0Sstevel@tonic-gate } 100*0Sstevel@tonic-gate 101*0Sstevel@tonic-gate=item * 102*0Sstevel@tonic-gate 103*0Sstevel@tonic-gateJperl �ߴ�������ץ� 104*0Sstevel@tonic-gate 105*0Sstevel@tonic-gate ������"shebang"���ѹ���������ǡ�Jperl�Ѥ�script�ΤۤȤ�ɤ��ѹ��ʤ������Ѳ�ǽ���Ȼפ��ޤ��� 106*0Sstevel@tonic-gate 107*0Sstevel@tonic-gate #!/path/to/jperl 108*0Sstevel@tonic-gate �� 109*0Sstevel@tonic-gate #!/path/to/perl -Mencoding=euc-jp 110*0Sstevel@tonic-gate 111*0Sstevel@tonic-gate �ܤ����� perldoc encoding �Ȥ��Ƥ��������� 112*0Sstevel@tonic-gate 113*0Sstevel@tonic-gate=back 114*0Sstevel@tonic-gate 115*0Sstevel@tonic-gate=head2 ����˾ܤ��� 116*0Sstevel@tonic-gate 117*0Sstevel@tonic-gatePerl�ˤ�����ʻ�������°���Ƥ��ꡢPerl�ο���ǽ��Unicode���ݡ��ȡ�������Encode�⥸�塼��λ���ˡ�ʤɤ��٤������夵��Ƥ��ޤ��ʻ�ǰ�ʤ��顢�ۤȤ�ɱѸ�ǤϤ���ޤ����ˡ��ʲ��Υ��ޥ�ɤǤ����ΰ�����������뤳�Ȥ���ǽ�Ǥ��� 118*0Sstevel@tonic-gate 119*0Sstevel@tonic-gate perldoc perlunicode # Perl��Unicode���ݡ������� 120*0Sstevel@tonic-gate perldoc Encode # Encode�⥸�塼��˴ؤ��� 121*0Sstevel@tonic-gate perldoc Encode::JP # �������ܸ�ʸ�������ɤ˴ؤ��� 122*0Sstevel@tonic-gate 123*0Sstevel@tonic-gate=head2 Perl���̤˴ؤ��� URL 124*0Sstevel@tonic-gate 125*0Sstevel@tonic-gate=over 4 126*0Sstevel@tonic-gate 127*0Sstevel@tonic-gate=item L<http://www.perl.com/> 128*0Sstevel@tonic-gate 129*0Sstevel@tonic-gatePerl �ۡ���ڡ��� (O'Reilly and Associates) 130*0Sstevel@tonic-gate 131*0Sstevel@tonic-gate=item L<http://www.cpan.org/> 132*0Sstevel@tonic-gate 133*0Sstevel@tonic-gateCPAN (Comprehensive Perl Archive Network) 134*0Sstevel@tonic-gate 135*0Sstevel@tonic-gate=item L<http://lists.perl.org/> 136*0Sstevel@tonic-gate 137*0Sstevel@tonic-gatePerl ���ꥹ�Ƚ� 138*0Sstevel@tonic-gate 139*0Sstevel@tonic-gate=back 140*0Sstevel@tonic-gate 141*0Sstevel@tonic-gate=head2 Perl�ν�������Ω�� URL 142*0Sstevel@tonic-gate 143*0Sstevel@tonic-gate=over 4 144*0Sstevel@tonic-gate 145*0Sstevel@tonic-gate=item L<http://www.oreilly.com.tw/chinese/> 146*0Sstevel@tonic-gate 147*0Sstevel@tonic-gateO'Reilly �Ҥ�Perl��Ϣ����(���λ�����) 148*0Sstevel@tonic-gate 149*0Sstevel@tonic-gate=item L<http://www.oreilly.com.cn/chinese/> 150*0Sstevel@tonic-gate 151*0Sstevel@tonic-gateO'Reilly �Ҥ�Perl��Ϣ����(���λ�����) 152*0Sstevel@tonic-gate 153*0Sstevel@tonic-gate=item L<http://www.oreilly.co.jp/catalog.htm> 154*0Sstevel@tonic-gate 155*0Sstevel@tonic-gate���饤��Ҥ�Perl��Ϣ����(���ܸ�) 156*0Sstevel@tonic-gate 157*0Sstevel@tonic-gate=back 158*0Sstevel@tonic-gate 159*0Sstevel@tonic-gate=head2 Perl �桼�������롼�� 160*0Sstevel@tonic-gate 161*0Sstevel@tonic-gate=over 4 162*0Sstevel@tonic-gate 163*0Sstevel@tonic-gate=item L<http://www.pm.org/groups/asia.shtml#China> 164*0Sstevel@tonic-gate 165*0Sstevel@tonic-gate������ڿ�̱���¹�� 166*0Sstevel@tonic-gate 167*0Sstevel@tonic-gate=item L<http://www.pm.org/groups/asia.shtml#Japan> 168*0Sstevel@tonic-gate 169*0Sstevel@tonic-gate���� 170*0Sstevel@tonic-gate 171*0Sstevel@tonic-gate=item L<http://www.pm.org/groups/asia.shtml#Korea%20(Republic%20of)> 172*0Sstevel@tonic-gate 173*0Sstevel@tonic-gate�ڹ�����̱��� 174*0Sstevel@tonic-gate 175*0Sstevel@tonic-gate=item L<http://www.pm.org/groups/asia.shtml#Taiwan> 176*0Sstevel@tonic-gate 177*0Sstevel@tonic-gate���ѡ����̱��� 178*0Sstevel@tonic-gate 179*0Sstevel@tonic-gate=back 180*0Sstevel@tonic-gate 181*0Sstevel@tonic-gate=head2 Unicode��Ϣ��URL 182*0Sstevel@tonic-gate 183*0Sstevel@tonic-gate=over 4 184*0Sstevel@tonic-gate 185*0Sstevel@tonic-gate=item L<http://www.unicode.org/> 186*0Sstevel@tonic-gate 187*0Sstevel@tonic-gateUnicode ���������� (Unicode���ʤ���������) 188*0Sstevel@tonic-gate 189*0Sstevel@tonic-gate=item L<http://www.cl.cam.ac.uk/%7Emgk25/unicode.html> 190*0Sstevel@tonic-gate 191*0Sstevel@tonic-gateUTF-8 and Unicode FAQ for Unix/Linux 192*0Sstevel@tonic-gate 193*0Sstevel@tonic-gate=item L<http://kldp.org/Translations/html/UTF8-Unicode-KLDP/UTF8-Unicode-KLDP.html> 194*0Sstevel@tonic-gate 195*0Sstevel@tonic-gateUTF-8 and Unicode FAQ for Unix/Linux (�ϥ���) 196*0Sstevel@tonic-gate 197*0Sstevel@tonic-gate=back 198*0Sstevel@tonic-gate 199*0Sstevel@tonic-gate=head1 AUTHORS 200*0Sstevel@tonic-gate 201*0Sstevel@tonic-gateJarkko Hietaniemi E<lt>jhi@iki.fiE<gt> 202*0Sstevel@tonic-gateDan Kogai (��������) E<lt>dankogai@dan.co.jpE<gt> 203*0Sstevel@tonic-gate 204*0Sstevel@tonic-gate=cut 205