jcode.pl
¤«¤é
Jcode.pm
¤Ë¾è¤ê´¹¤¨¸½ºß»ä¤Ï¡¢¥¢¥¯¥»¥¹¥«¥¦¥ó¥¿¤ÎÃæ¤Ë¥í¥°ºÎ¼èµ¡Ç½¤ò»Å¹þ¤ó¤Ç¤¢¤ë¡£
¥í¥°¤Ç¤Ï¡¢¥Ö¥é¥¦¥¶¤«¤éÁ÷¤é¤ì¤Æ¤¤¿¡Ö¤É¤Î¥Ú¡¼¥¸¤«¤é¤¿¤É¤Ã¤Æ¤¤¿¤Î¤«¡×
¤Î¾ðÊó¡Ê´Ä¶ÊÑ¿ô HTTP_REFERER
¤ÎÆâÍơˤòµÏ¿¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¤¤ë¤Î¤Ç¡¢¸¡º÷¥¨¥ó¥¸¥ó¤Ç¤É¤ó¤Ê¥¡¼¥ï¡¼¥É¤òÆþÎϤ·¤Æ»ä¤Î¤È¤³¤í¤Ë¤¿¤É¤ê¤Ä¤¤¤¿¤Î¤«¤¬¤ï¤«¤ë¤Î¤Ç¤¢¤ë¡£
¤µ¤Æ¡¢¤½¤Î¥í¥°¤Ë¤Ï¡¢URL ¥¨¥ó¥³¡¼¥É¡Ê%xx¡Ë¤ò¥Ç¥³¡¼¥É¤·¤¿·Á¤Ç¡¢ ¼¡¤Î¤è¤¦¤ËµÏ¿¤µ¤ì¤Æ¤¤¤ë¡£
00:16:00 main(/~delmonta/tagebuecher/ecc.html) http://google.yahoo.co.jp/bin/query?p=doskey¤¬»È¤¨¤Ê¤¤&hc=0&hs=0
00:20:55 main(/~delmonta/emacs/18.html) http://www.google.co.jp/search?q=¥¡¼¥³¡¼¥É¡¡¥¡¼¥Ü¡¼¥É¡¡¥«¥¹¥¿¥Þ¥¤¥º¡¡É½¡¡WIN&ie=Shift_JIS&hl=ja&lr=lang_ja
¤È¤³¤í¤¬ºÇ¶á¡¢UTF-8 ¤È¤ª¤Ü¤·¤Ê¸»ú²½¤±¤¬Â¿¿ôº®Æþ¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£ ¼ç¤Ë¡¢IE ¤Ç Google ¸¡º÷¤·¤¿·ë²Ì¤Ç¤¢¤ë¡£
00:30:28 main(/~delmonta/tagebuecher/eisenbahn-cp2/index.html) http://216.239.35.100/search? q=cache: keAtKQY4LGIC: www.ht.sakura.ne.jp/ ~delmonta/ tagebuecher/ eisenbahn.html+ê°ÔèØ¡åàŽ¥éè¬ç²´ðµŽ¼é厥&hl=ja&ie=UTF-8&inlang=ja
¤È¤³¤í¤¬¡¢»ä¤Î»È¤Ã¤Æ¤¤¤ë¥¢¥¯¥»¥¹¥«¥¦¥ó¥¿
¡Ê¹â¹»¤Î¸åÇÚ¤¬ºî¤Ã¤¿¤â¤Î¤ò¼êľ¤·¤·¤Æ»È¤Ã¤Æ¤¤¤ë¡Ë¤Ç¤Ï jcode.pl
¤ò»È¤Ã¤Æ¤¤¤ë¤¿¤á¡¢UTF-8 ¤Î¥Ç¥³¡¼¥É¤¬¤Ç¤¤Ê¤¤¡£
¤È¤¤¤¦¤ï¤±¤Ç¡¢»ÅÊý¤¬¤Ê¤¤¤Î¤Ç¡¢Unicode ¤Ë¤âÂбþ¤·¤¿ºÇ¿·¤Î
Jcode.pm
¤Ë¾è¤ê´¹¤¨¤Ç¤¢¤ë¡£
äþ;¶ÊÀÞ¤¬¤¢¤ë¤«¤È»×¤ï¤ì¤¿¤¬¡¢Â礷¤¿¤³¤È¤Ï¤Ê¤«¤Ã¤¿¡£
Í£°ìÃí°Õ¤¹¤Ù¤ÅÀ¤È¤·¤Æ¤Ï¡¢root ¸¢¸Â¤¬¤Ê¤¤¤È¤¤¤¦ÅÀ¤Ç¤¢¤ë¡£
»ÅÊý¤¬¤Ê¤¤¤Î¤Ç¡¢¥¢¡¼¥«¥¤¥Ö¤òŸ³«¤·¤Æ Jcode.pm
¤È
Jcode
¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤òñ¤ËŬÅö¤Ê¾ì½ê¡Ê²¾¤Ë
¤È¤¹¤ë¡Ë¤Ë¥³¥Ô¡¼¤¹¤ë¡£perl Makefile.PL
¤â
make
¤âÍפé¤Ê¤¤¡£
(03.03.03 Äɵ)ºÇ¶á¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Jcode.pm
¤Ç¤Ï¡¢tar ball ¤òŸ³«¤·¤¿¤È¤¤Ë½Ð¤Æ¤¯¤ë¥É¥¥å¥á¥ó¥È¤Ë¡¢
¤³¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤¬¤¤Á¤ó¤È¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¡£
¤¢¤È¤Ï¥«¥¦¥ó¥¿¥¹¥¯¥ê¥×¥È¤ÎËÁƬ¤ò
#!/usr/local/bin/perl -I/home/delmonta/lib/perl
¤È¼êľ¤·¤·¡¢
use Jcode;
¤ò²ÃÉ®¤·¡¢¼ÂºÝ¤Ë¥³¡¼¥ÉÊÑ´¹¤ò¤·¤Æ¤¤¤ë²Õ½ê¤ò
$new = jcode($hoge)->jis;
¤È½ñ¤´¹¤¨¤ë¤À¤±¤Ç¤¢¤ë¡£´Êñ¤Ç¤¢¤ë¡£