KENT-WEB ¥µ¥Ý¡¼¥È¥³¡¼¥Ê¡¼ ²áµî¥í¥° [ 0036 ]


µ­»öNo¡§ 9124
Åê¹ÆÆü¡§ 2011/09/05(Mon) 17:09:18
¥¿¥¤¥È¥ë¡§ postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

ºÇ¿·¤Î¥Ý¥¹¥È¥á¡¼¥ë¤¬UTF8¤ËÂбþ¤·¤¿¤È¡¢²ñ¼Ò¤Î»Ò¤Ëʹ¤¤¤¿¤Î¤Ç¡¢Áᮥƥ¹¥È¤·¤Æ¤ß¤è¤¦¢ö¤È»×¤¤¡¢¥á¡¼¥ë¥¢¥É¥ì¥¹¡¢¥¿¥¤¥È¥ëÅù¼ç¤Ê¤â¤Î¤òÊѹ¹¤·¤Æ¡¢¥µ¡¼¥Ð¡¼¤ËUP¤·¤Þ¤·¤¿¡£
¤·¤«¤·¡¢utf.html¤«¤éÆþÎϤ·¤Æ¡¢³Îǧ²èÌ̤ò¸«¤ë¤È¡¢Ê¸»ú²½¤±¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¤½¤Î¤Þ¤Þ¡¢¥á¡¼¥ëÁ÷¿®¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¤½¤Á¤é¤âʸ»ú²½¤±¤¬¤½¤Î¤Þ¤ÞÈ¿±Ç¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤É¤Î¥Õ¥¡¥¤¥ë¤òUTF¤ËÊѹ¹¤·¤Ê¤¤¤È¥À¥á¤È¤«Readme¤Ç¤â¤¢¤ì¤Ð¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢UTF¤Ë´Ø¤¹¤ëµ­½Ò¤â¸«Åö¤¿¤é¤Ê¤¯¤ÆÅÓÊý¤ËÊë¤ì¤Æ¤¤¤Þ¤¹¡£
¤É¤Ê¤¿¤«UTF¤Ç¤ÎÆ°¤«¤·Êý¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£


µ­»öNo¡§ 9125
Åê¹ÆÆü¡§ 2011/09/05(Mon) 17:19:18
¥¿¥¤¥È¥ë¡§ Re: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ kent
Åê¹Æ¼Ô¡§ KENT

> ºÇ¿·¤Î¥Ý¥¹¥È¥á¡¼¥ë¤¬UTF8¤ËÂбþ¤·¤¿¤È¡¢²ñ¼Ò¤Î»Ò¤Ëʹ¤¤¤¿¤Î¤Ç¡¢Áᮥƥ¹¥È¤·¤Æ¤ß¤è¤¦¢ö¤È»×¤¤¡¢¥á¡¼¥ë¥¢¥É¥ì¥¹¡¢¥¿¥¤¥È¥ëÅù¼ç¤Ê¤â¤Î¤òÊѹ¹¤·¤Æ¡¢¥µ¡¼¥Ð¡¼¤ËUP¤·¤Þ¤·¤¿¡£
> ¤·¤«¤·¡¢utf.html¤«¤éÆþÎϤ·¤Æ¡¢³Îǧ²èÌ̤ò¸«¤ë¤È¡¢Ê¸»ú²½¤±¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
> ¤½¤Î¤Þ¤Þ¡¢¥á¡¼¥ëÁ÷¿®¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¤½¤Á¤é¤âʸ»ú²½¤±¤¬¤½¤Î¤Þ¤ÞÈ¿±Ç¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
> ¤É¤Î¥Õ¥¡¥¤¥ë¤òUTF¤ËÊѹ¹¤·¤Ê¤¤¤È¥À¥á¤È¤«Readme¤Ç¤â¤¢¤ì¤Ð¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢UTF¤Ë´Ø¤¹¤ëµ­½Ò¤â¸«Åö¤¿¤é¤Ê¤¯¤ÆÅÓÊý¤ËÊë¤ì¤Æ¤¤¤Þ¤¹¡£
> ¤É¤Ê¤¿¤«UTF¤Ç¤ÎÆ°¤«¤·Êý¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

ʸ»ú²½¤±¤¹¤ëʸ»ú¤ò¶ñÂÎŪ¤Ë½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£
°Ê²¼¤ÎQA¤ÎÆâÍƤΤ褦¤Êµ¤¤¬¤·¤Þ¤¹¤¬¡¦¡¦¡£

http://www.kent-web.com/support/bbs/?list=all&bos=8713
http://www.kent-web.com/support/bbs/?list=all&bos=8411


µ­»öNo¡§ 9128
Åê¹ÆÆü¡§ 2011/09/06(Tue) 08:55:42
¥¿¥¤¥È¥ë¡§ Re^2: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

ÁᮤΤ´ÊÖÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
£Ñ£Á¸«¤Æ¤ß¤Þ¤¹¡ª
ʸ»ú²½¤±¤¹¤ë¤Î¤Ï̾Á°¤Î½ê¤Ë¡Ö¤µ¤ó¡×¤È¤¤¤ì¤ë¤Èʸ»ú²½¤±¤·¤Þ¤¹¡£


µ­»öNo¡§ 9129
Åê¹ÆÆü¡§ 2011/09/06(Tue) 09:15:34
¥¿¥¤¥È¥ë¡§ Re^3: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

> ÁᮤΤ´ÊÖÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
> £Ñ£Á¸«¤Æ¤ß¤Þ¤¹¡ª
> ʸ»ú²½¤±¤¹¤ë¤Î¤Ï̾Á°¤Î½ê¤Ë¡Ö¤µ¤ó¡×¤È¤¤¤ì¤ë¤Èʸ»ú²½¤±¤·¤Þ¤¹¡£

http://www.kent-web.com/support/bbs/?list=all&bos=8713
¢¬
¤³¤Á¤é¤Î£Ñ£Á¤ò»²¹Í¤Ëpostmail.cgi¤ò½¤Àµ¸å¡¢£Õ£Ð¤·¤Æ¤ß¤Þ¤·¤¿¡£

¢­¢­¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢­¢­-----------------------------

Jcode.pm¤ÎÂå¤ï¤ê¤Ë¤³¤Á¤é¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ëʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ì¤ÐÆÃÄê¤Îʸ»ú²½¤±¤Ë´Ø¤·¤Æ¤Ï²ò¾Ã¤µ¤ì¤Þ¤¹¡£
http://www11.atpages.jp/atgamewikibbs/pm/SJIS_UTF8.pm

¡üʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò¥³¥Ô¡¼¤·¤ÆSJIS_UTF8.pm¤È¸À¤¦¥Í¡¼¥à¤Çlib¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¢¥Ã¥×

¡üpostmail.cgi

# ¥â¥¸¥å¡¼¥ë¼Â¹Ô
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use lib './lib';
use Jcode;
use SJIS_UTF8; ## ÄɲÃ


#-----------------------------------------------------------
# ¥Õ¥©¡¼¥à¥Ç¥³¡¼¥É
#-----------------------------------------------------------
-- ¾Êά --
# ¥³¡¼¥ÉÊÑ´¹
#Jcode::convert(\$key, 'sjis'); ## ¥³¥á¥ó¥È¥¢¥¦¥È
#Jcode::convert(\$val, 'sjis'); ## ¥³¥á¥ó¥È¥¢¥¦¥È
&SJIS_UTF8::utf82sjis($key); ## ÄɲÃ
&SJIS_UTF8::utf82sjis($val); ## ÄɲÃ

¢¬¢¬¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢¬¢¬-----------------------------

¡Ö¤µ¤ó¡×¤Ï»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢²¿¤âÆþ¤ì¤Æ¤Ê¤¤»þ¤Î¥¨¥é¡¼Ê¸¤¬Ê¸»ú²½¤±¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
¡¦¤ªÌ¾Á°
¡¡¤ªÌ¾Á°åᎯé厥éêÖ玿¡¦ °å¢©åᡦ
¡¦¥á¡¼¥ë¥¢¥É¥ì¥¹
¡¡¥á¡¼¥ë¥¢¥É¥ì¥¹åᎯé厥éêÖ玿¡¦ °å¢©åᡦ
¡¦Ìä¹ç¤»¼ïÊÌ
¡¡Ìä¹ç¤»¼ïÊÌåᎯé厥éêÖ玿¡¦ °å¢©åᡦ
¤È¤¤¤¦¶ñ¹ç¤Ç¤¹¡Ä
¤Þ¤¿¡¢³Îǧ¥Õ¥©¡¼¥à¤ÇÀµ¾ï¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤Æ¤â¡¢Á÷¿®¤µ¤ì¤Æ¤¯¤ë¥á¡¼¥ë¤Ç¤Ï¡¢Ì䤤¹ç¤ï¤»¼ïÊ̤¬Ê¸»ú²½¤±¤òµ¯¤³¤·¤Æ¤¤¤Þ¤¹¡£

Ʊº­¤Îutf.html¤ò¤½¤Î¤Þ¤ÞUTF8¤Î¾õÂ֤ǥ¢¥Ã¥×¥í¡¼¥É¤·¤Æ¤¢¤ê¤Þ¤¹¡£
¤½¤Î¾¤Î¤â¤Î¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò½ñ¤­´¹¤¨¤Æ¤¤¤Ê¤¤¤Î¤ÇShift-JIS¤À¤È»×¤ï¤ì¤Þ¤¹¡£


µ­»öNo¡§ 9131
Åê¹ÆÆü¡§ 2011/09/06(Tue) 14:52:22
¥¿¥¤¥È¥ë¡§ Re^4: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ kent
Åê¹Æ¼Ô¡§ KENT

> > ÁᮤΤ´ÊÖÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
> > £Ñ£Á¸«¤Æ¤ß¤Þ¤¹¡ª
> > ʸ»ú²½¤±¤¹¤ë¤Î¤Ï̾Á°¤Î½ê¤Ë¡Ö¤µ¤ó¡×¤È¤¤¤ì¤ë¤Èʸ»ú²½¤±¤·¤Þ¤¹¡£
>
> http://www.kent-web.com/support/bbs/?list=all&bos=8713
> ¢¬
> ¤³¤Á¤é¤Î£Ñ£Á¤ò»²¹Í¤Ëpostmail.cgi¤ò½¤Àµ¸å¡¢£Õ£Ð¤·¤Æ¤ß¤Þ¤·¤¿¡£
>
> ¢­¢­¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢­¢­-----------------------------
>
> Jcode.pm¤ÎÂå¤ï¤ê¤Ë¤³¤Á¤é¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ëʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ì¤ÐÆÃÄê¤Îʸ»ú²½¤±¤Ë´Ø¤·¤Æ¤Ï²ò¾Ã¤µ¤ì¤Þ¤¹¡£
> http://www11.atpages.jp/atgamewikibbs/pm/SJIS_UTF8.pm
>
> ¡üʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò¥³¥Ô¡¼¤·¤ÆSJIS_UTF8.pm¤È¸À¤¦¥Í¡¼¥à¤Çlib¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¢¥Ã¥×
>
> ¡üpostmail.cgi
>
> # ¥â¥¸¥å¡¼¥ë¼Â¹Ô
> use strict;
> use CGI;
> use CGI::Carp qw(fatalsToBrowser);
> use lib './lib';
> use Jcode;
> use SJIS_UTF8; ## ÄɲÃ
>
>
> #-----------------------------------------------------------
> # ¥Õ¥©¡¼¥à¥Ç¥³¡¼¥É
> #-----------------------------------------------------------
> -- ¾Êά --
> # ¥³¡¼¥ÉÊÑ´¹
> #Jcode::convert(\$key, 'sjis'); ## ¥³¥á¥ó¥È¥¢¥¦¥È
> #Jcode::convert(\$val, 'sjis'); ## ¥³¥á¥ó¥È¥¢¥¦¥È
> &SJIS_UTF8::utf82sjis($key); ## ÄɲÃ
> &SJIS_UTF8::utf82sjis($val); ## ÄɲÃ
>
> ¢¬¢¬¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢¬¢¬-----------------------------
>
> ¡Ö¤µ¤ó¡×¤Ï»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢²¿¤âÆþ¤ì¤Æ¤Ê¤¤»þ¤Î¥¨¥é¡¼Ê¸¤¬Ê¸»ú²½¤±¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
> ¡¦¤ªÌ¾Á°
> ¡¡¤ªÌ¾Á°åᎯé厥éêÖ玿¡¦�°å¢©åᡦ
> ¡¦¥á¡¼¥ë¥¢¥É¥ì¥¹
> ¡¡¥á¡¼¥ë¥¢¥É¥ì¥¹åᎯé厥éêÖ玿¡¦�°å¢©åᡦ
> ¡¦Ìä¹ç¤»¼ïÊÌ
> ¡¡Ìä¹ç¤»¼ïÊÌåᎯé厥éêÖ玿¡¦�°å¢©åᡦ
> ¤È¤¤¤¦¶ñ¹ç¤Ç¤¹¡Ä
> ¤Þ¤¿¡¢³Îǧ¥Õ¥©¡¼¥à¤ÇÀµ¾ï¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤Æ¤â¡¢Á÷¿®¤µ¤ì¤Æ¤¯¤ë¥á¡¼¥ë¤Ç¤Ï¡¢Ì䤤¹ç¤ï¤»¼ïÊ̤¬Ê¸»ú²½¤±¤òµ¯¤³¤·¤Æ¤¤¤Þ¤¹¡£
>
> Ʊº­¤Îutf.html¤ò¤½¤Î¤Þ¤ÞUTF8¤Î¾õÂ֤ǥ¢¥Ã¥×¥í¡¼¥É¤·¤Æ¤¢¤ê¤Þ¤¹¡£
> ¤½¤Î¾¤Î¤â¤Î¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò½ñ¤­´¹¤¨¤Æ¤¤¤Ê¤¤¤Î¤ÇShift-JIS¤À¤È»×¤ï¤ì¤Þ¤¹¡£

postmail.cgi ¤Î¥×¥í¥°¥é¥àËÜÂΤÎʸ»ú¥³¡¼¥É¤òUTF-8¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤»¤ó¤«¡©


µ­»öNo¡§ 9133
Åê¹ÆÆü¡§ 2011/09/06(Tue) 16:04:17
¥¿¥¤¥È¥ë¡§ Re^5: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

> postmail.cgi ¤Î¥×¥í¥°¥é¥àËÜÂΤÎʸ»ú¥³¡¼¥É¤òUTF-8¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤»¤ó¤«¡©

postmail.cgi¤Ç¤¹¤¬¡¢¶Ä¤Ã¤¿¤È¤ª¤ê¡ÖUTF-8¡×¤Ë¤Ê¤Ã¤Æ¤Þ¤·¤¿¡ª
̵»ö¤ËÁ÷¿®¤Ç¤­¤Æ²¿¤è¤ê¤Ç¤¹¡£
¤È»×¤Ã¤Æ¤¤¤¿¤é¡¢¼õ¿®¤·¤¿¥á¡¼¥ë¤ÎÊý¤¬Ê¸»ú²½¤±¤Ë¡Ä
¤ªÌä¹ç¤»¼ïÊ̤Ǥ½¤Î¾¤Î¥é¥¸¥ª¥Ü¥¿¥ó¤òÁª¤ó¤À¤é¡ÖËᎬ¤»¼ïÊÌ = ¤½£áŽ¬Ž¼¡×¤È¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£
¤É¤¦¤·¤¿¤é¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡©

°ÊÁ°¤Î¥ê¥ó¥¯¤Ç¶µ¤¨¤Æ¤â¤é¤Ã¤¿¥Ú¡¼¥¸
http://www.kent-web.com/support/bbs/?list=all&bos=8713
¤Ï¡¢¥Ð¡¼¥¸¥ç¥ó¤¬5.72¤Î°Ù¤«¡¢Æ±¤¸µ­½Ò¤Îʸ»úÎ󤬸«¤Ä¤«¤ê¤Þ¤»¤ó¡£


µ­»öNo¡§ 9138
Åê¹ÆÆü¡§ 2011/09/07(Wed) 12:15:00
¥¿¥¤¥È¥ë¡§ Re^6: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ kent
Åê¹Æ¼Ô¡§ KENT

> > postmail.cgi ¤Î¥×¥í¥°¥é¥àËÜÂΤÎʸ»ú¥³¡¼¥É¤òUTF-8¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤»¤ó¤«¡©
>
> postmail.cgi¤Ç¤¹¤¬¡¢¶Ä¤Ã¤¿¤È¤ª¤ê¡ÖUTF-8¡×¤Ë¤Ê¤Ã¤Æ¤Þ¤·¤¿¡ª
> ̵»ö¤ËÁ÷¿®¤Ç¤­¤Æ²¿¤è¤ê¤Ç¤¹¡£
> ¤È»×¤Ã¤Æ¤¤¤¿¤é¡¢¼õ¿®¤·¤¿¥á¡¼¥ë¤ÎÊý¤¬Ê¸»ú²½¤±¤Ë¡Ä
> ¤ªÌä¹ç¤»¼ïÊ̤Ǥ½¤Î¾¤Î¥é¥¸¥ª¥Ü¥¿¥ó¤òÁª¤ó¤À¤é¡ÖËᎬ¤»¼ïÊÌ = ¤½£áŽ¬Ž¼¡×¤È¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£
> ¤É¤¦¤·¤¿¤é¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡©
>
> °ÊÁ°¤Î¥ê¥ó¥¯¤Ç¶µ¤¨¤Æ¤â¤é¤Ã¤¿¥Ú¡¼¥¸
> http://www.kent-web.com/support/bbs/?list=all&bos=8713
> ¤Ï¡¢¥Ð¡¼¥¸¥ç¥ó¤¬5.53¤Î°Ù¤«¡¢Æ±¤¸µ­½Ò¤Îʸ»úÎ󤬸«¤Ä¤«¤ê¤Þ¤»¤ó¡£

¤½¤¦¤Ç¤¹¤«¡£Jcode.pm¤ÏPerl´Ä¶­¤Ë¤è¤Ã¤ÆÆ°ºî¤¬°Û¤Ê¤ë¤è¤¦¤ÇÆñ¤·¤¤¤È¤³¤í¤¬¤¢¤ê¤Þ¤¹¤Í¡£

°Ê²¼¤ÎÂбþÊýË¡¤Ï¤¤¤«¤¬¤Ç¤¹¤«¡£

http://www.kent-web.com/support/bbs/?list=all&bos=8713&pg=#8729

¡Ê¿·¥Ð¡¼¥¸¥ç¥ó¤Ç¤Î¹Ô¿ô¡Ë
¢¨¾å¤«¤é½ç¤Ë
508¹ÔÌÜ¡¡¢ª¡¡475¹ÔÌÜ
158¹ÔÌÜ¡¡¢ª¡¡153¹ÔÌÜ


µ­»öNo¡§ 9140
Åê¹ÆÆü¡§ 2011/09/07(Wed) 14:25:49
¥¿¥¤¥È¥ë¡§ Re^7: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

> ¤½¤¦¤Ç¤¹¤«¡£Jcode.pm¤ÏPerl´Ä¶­¤Ë¤è¤Ã¤ÆÆ°ºî¤¬°Û¤Ê¤ë¤è¤¦¤ÇÆñ¤·¤¤¤È¤³¤í¤¬¤¢¤ê¤Þ¤¹¤Í¡£
>
> °Ê²¼¤ÎÂбþÊýË¡¤Ï¤¤¤«¤¬¤Ç¤¹¤«¡£
>
> http://www.kent-web.com/support/bbs/?list=all&bos=8713&pg=#8729
>
> ¡Ê¿·¥Ð¡¼¥¸¥ç¥ó¤Ç¤Î¹Ô¿ô¡Ë
> ¢¨¾å¤«¤é½ç¤Ë
> 508¹ÔÌÜ¡¡¢ª¡¡475¹ÔÌÜ
> 158¹ÔÌÜ¡¡¢ª¡¡153¹ÔÌÜ
>
153¹ÔÌÜ

¢£Êѹ¹Á°
#$$in{$key} =~ s/\0/ /g;
$hidden .= qq|<input type="hidden" name="$key" value="$$in{$key}" />\n|;

# ²þ¹ÔÊÑ´¹
$$in{$key} =~ s/\t/<br \/>/g;

my $tmp = $loop;
if (defined($cf{replace}->{$key})) {
$tmp =~ s/!key!/$cf{replace}->{$key}/;
} else {
$tmp =~ s/!key!/$key/;
}
$tmp =~ s/!val!/$$in{$key}/;
$item .= $tmp;

$bef = $key;
}

¢£Êѹ¹¸å
my $val = $$in{$key};
Jcode::convert(\$key, 'sjis', 'utf8');
Jcode::convert(\$val, 'sjis', 'utf8');

#$$in{$key} =~ s/\0/ /g;
$hidden .= qq|<input type="hidden" name="$key" value="$val" />\n|;

# ²þ¹ÔÊÑ´¹
$val =~ s/\t/<br \/>/g;
#my $tmp = $cell;
my $tmp = $loop;
if (defined($cf{replace}->{$key})) {
$tmp =~ s/!key!/$cf{replace}->{$key}/;
} else {
$tmp =~ s/!key!/$key/;
}
$tmp =~ s/!val!/$val/;

475¹ÔÌÜ
<No.8814>¤ò¹Ô¤Ã¤¿¸å¤Ç¤·¤¿¤Î¤Ç¡¢¤³¤Î¤è¤¦¤Ëµ­½Ò¤·¤Æ¤¢¤ê¤Þ¤¹¡£
SJIS_UTF8.pm¤Î¥é¥¤¥Ö¥é¥ê¤Ï¡Ölib¡×¥Õ¥©¥ë¥À¤ËUP¤·¤¿¤Þ¤Þ¤Ç¤¹¡£
¢£Êѹ¹Á°
# ¥³¡¼¥ÉÊÑ´¹
#Jcode::convert(\$key, 'sjis');
#Jcode::convert(\$val, 'sjis');
&SJIS_UTF8::utf82sjis($key);
&SJIS_UTF8::utf82sjis($val);

¢£Êѹ¹¸å
# ¥³¡¼¥ÉÊÑ´¹
#Jcode::convert(\$key, 'sjis');
#Jcode::convert(\$val, 'sjis');
#&SJIS_UTF8::utf82sjis($key);
#&SJIS_UTF8::utf82sjis($val);

¤È¤·¤¿¤é¡¢¥á¡¼¥ë¤âʸ»ú²½¤±Ìµ¤·¤ÇÆϤ­¤Þ¤·¤¿¡ª
Ĺ¡¹¤È¼ÁÌäÃפ·¤Þ¤·¤Æ¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤Þ¤¿¤Ä¤Þ¤Å¤¤¤¿¤é¤ª½õ¤±¤¯¤À¤µ¤¤¡Ä¡£


µ­»öNo¡§ 9141
Åê¹ÆÆü¡§ 2011/09/07(Wed) 15:19:23
¥¿¥¤¥È¥ë¡§ Re^8: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

¥³¥á¥ó¥ÈÆþÎϸå¤Ë¡¢postmai.html¤òºï½ü¤·¡¢»þ´Ö¤ò¤ª¤¤¤Æ¤Þ¤¿¸«¤¿¤éº£Å٤ϡÖÌä¹ç¤»¼ïÊ̡פȡ֥á¥Ã¥»¡¼¥¸¡×¤¬Ê¸»ú²½¤±¤òµ¯¤³¤·¤Æ¤¤¤Þ¤·¤¿¡Ä
¤ªÌä¹ç¤»¼ïÊ̤ϡØéõ¾ç¿èåáÖ鎨Ž®é莥¡Ù¥á¥Ã¥»¡¼¥¸¤Ï¡Øå㎡å㡦¤½å㎼å⎸¡Ù¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
²¿¤«¿¨¤Ã¤¿µ­²±¤â¤Ê¤¯¡Êµ­²±Èô¤ó¤Ç¤¤¤ë¤À¤±¡©¡ª¡Ë¤É¤¦¤·¤¿¤éÎɤ¤¤â¤Î¤ä¤é¡£¡£¡£
cgi¤Ïshift-jis¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤·¡¢<No.9129><No.9140>¤Îºî¶È¤Ï¹Ô¤Ã¤Æ¤¢¤ê¤Þ¤¹¡£


µ­»öNo¡§ 9143
Åê¹ÆÆü¡§ 2011/09/08(Thu) 07:39:12
¥¿¥¤¥È¥ë¡§ Re^9: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ kent
Åê¹Æ¼Ô¡§ KENT

> ¥³¥á¥ó¥ÈÆþÎϸå¤Ë¡¢postmai.html¤òºï½ü¤·¡¢»þ´Ö¤ò¤ª¤¤¤Æ¤Þ¤¿¸«¤¿¤éº£Å٤ϡÖÌä¹ç¤»¼ïÊ̡פȡ֥á¥Ã¥»¡¼¥¸¡×¤¬Ê¸»ú²½¤±¤òµ¯¤³¤·¤Æ¤¤¤Þ¤·¤¿¡Ä
> ¤ªÌä¹ç¤»¼ïÊ̤ϡØéõ¾ç¿èåáÖ鎨Ž®é莥¡Ù¥á¥Ã¥»¡¼¥¸¤Ï¡Øå㎡å㡦¤½å㎼å⎸¡Ù¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
> ²¿¤«¿¨¤Ã¤¿µ­²±¤â¤Ê¤¯¡Êµ­²±Èô¤ó¤Ç¤¤¤ë¤À¤±¡©¡ª¡Ë¤É¤¦¤·¤¿¤éÎɤ¤¤â¤Î¤ä¤é¡£¡£¡£
> cgi¤Ïshift-jis¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤·¡¢<No.9129><No.9140>¤Îºî¶È¤Ï¹Ô¤Ã¤Æ¤¢¤ê¤Þ¤¹¡£

¤³¤¦¤¤¤Ã¤¿¥±¡¼¥¹¤Ç¤Ï¡¢¤¤¤Ã¤¿¤óÁ´¤Æ¤òºï½ü¤·¡¢°ì¤«¤é½¤ÀµµÚ¤ÓÀßÃÖºî¶È¤ò¤ä¤êľ¤·¤Æ¤ß¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£


µ­»öNo¡§ 9148
Åê¹ÆÆü¡§ 2011/09/08(Thu) 14:45:28
¥¿¥¤¥È¥ë¡§ Re^10: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www3.ginet.or.jp/sjsiki/test/utf.html

> ¤³¤¦¤¤¤Ã¤¿¥±¡¼¥¹¤Ç¤Ï¡¢¤¤¤Ã¤¿¤óÁ´¤Æ¤òºï½ü¤·¡¢°ì¤«¤é½¤ÀµµÚ¤ÓÀßÃÖºî¶È¤ò¤ä¤êľ¤·¤Æ¤ß¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£

¤´»ØƳ¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
²¿ÅÙ¤«¥Õ¥©¥ë¥ÀËèºï½ü¤ò¤·¡¢¥È¥é¥¤¤·¤Æ¤ß¤Þ¤·¤¿¡£
ʸ»ú²½¤±¤â¤Ê¤¯¡¢Àµ¾ï¤ËÆ°¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

½¤Àµ¤·¤¿ÅÀ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

¢­¢­¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢­¢­-----------------------------

Jcode.pm¤ÎÂå¤ï¤ê¤Ë¤³¤Á¤é¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ëʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ì¤ÐÆÃÄê¤Îʸ»ú²½¤±¤Ë´Ø¤·¤Æ¤Ï²ò¾Ã¡£
http://www11.atpages.jp/atgamewikibbs/pm/SJIS_UTF8.pm

¡üʸ»ú¥³¡¼¥ÉÊÑ´¹¥é¥¤¥Ö¥é¥ê¤ò¥³¥Ô¡¼¤·¤ÆSJIS_UTF8.pm¤È¸À¤¦¥Í¡¼¥à¤Çlib¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¢¥Ã¥×¥í¡¼¥É

¡üpostmail.cgi

9¹ÔÌÜ
¢£Êѹ¹Á°
# ¥â¥¸¥å¡¼¥ë¼Â¹Ô
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use lib './lib';
use Jcode;

¢£Êѹ¹¸å
# ¥â¥¸¥å¡¼¥ë¼Â¹Ô
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use lib './lib';
use Jcode;
use SJIS_UTF8; ## ÄɲÃ

152¹ÔÌÜ
¢£Êѹ¹Á°
#$$in{$key} =~ s/\0/ /g;
$hidden .= qq|<input type="hidden" name="$key" value="$$in{$key}" />\n|;

# ²þ¹ÔÊÑ´¹
$$in{$key} =~ s/\t/<br \/>/g;

my $tmp = $loop;
if (defined($cf{replace}->{$key})) {
$tmp =~ s/!key!/$cf{replace}->{$key}/;
} else {
$tmp =~ s/!key!/$key/;
}
$tmp =~ s/!val!/$$in{$key}/;
$item .= $tmp;

$bef = $key;
}

¢£Êѹ¹¸å
my $val = $$in{$key};
Jcode::convert(\$key, 'sjis', 'utf8');
Jcode::convert(\$val, 'sjis', 'utf8');

#$$in{$key} =~ s/\0/ /g;
$hidden .= qq|<input type="hidden" name="$key" value="$val" />\n|;

# ²þ¹ÔÊÑ´¹
$val =~ s/\t/<br \/>/g;

my $tmp = $loop;
if (defined($cf{replace}->{$key})) {
$tmp =~ s/!key!/$cf{replace}->{$key}/;
} else {
$tmp =~ s/!key!/$key/;
}
$tmp =~ s/!val!/$val/;
$item .= $tmp;

$bef = $key;
}


447¹ÔÌÜ
¢£Êѹ¹Á°
#-----------------------------------------------------------
# ¥Õ¥©¡¼¥à¥Ç¥³¡¼¥É
#-----------------------------------------------------------
-- ¾Êά --
# ¥³¡¼¥ÉÊÑ´¹
Jcode::convert(\$key, 'sjis');
Jcode::convert(\$val, 'sjis');

¢£Êѹ¹¸å
#-----------------------------------------------------------
# ¥Õ¥©¡¼¥à¥Ç¥³¡¼¥É
#-----------------------------------------------------------
-- ¾Êά --
# ¥³¡¼¥ÉÊÑ´¹
#Jcode::convert(\$key, 'sjis');
#Jcode::convert(\$val, 'sjis');

¢¬¢¬¡ùÊѹ¹¤·¤¿ÅÀ¡ù¢¬¢¬-----------------------------

¤³¤Î¾õÂÖ¤Çcgi¤òÆþ¤ìÂؤ¨¤¿¤È¤­¤Ë¤Þ¤¿Ê¸»ú²½¤±¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤Ã¤¿»þ¤¬¤¢¤ë¤Î¤Ç¡¢±ªïè¤Ë¿¨¤ì¤Ê¤¯¤Æ¤Á¤ç¤Ã¤ÈÉÝ¡¹¤Ç¤¹¡¨
v5.72¤Ï¡¢¤Þ¤À°ÂÄꤷ¤Æ¤¤¤ë¤È¤Ï¸À¤¨¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡¨


µ­»öNo¡§ 9151
Åê¹ÆÆü¡§ 2011/09/09(Fri) 08:29:57
¥¿¥¤¥È¥ë¡§ Re^11: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ kent
Åê¹Æ¼Ô¡§ KENT

> ¤³¤Î¾õÂÖ¤Çcgi¤òÆþ¤ìÂؤ¨¤¿¤È¤­¤Ë¤Þ¤¿Ê¸»ú²½¤±¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤Ã¤¿»þ¤¬¤¢¤ë¤Î¤Ç¡¢±ªïè¤Ë¿¨¤ì¤Ê¤¯¤Æ¤Á¤ç¤Ã¤ÈÉÝ¡¹¤Ç¤¹¡¨
> v5.72¤Ï¡¢¤Þ¤À°ÂÄꤷ¤Æ¤¤¤ë¤È¤Ï¸À¤¨¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡¨

»ä¸«¤Ç¤¹¤¬¡¢¥â¥¸¥å¡¼¥ë¤Î¤Û¤¦¤¬°ÂÄꤷ¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤Í¡£
¸Ä¿ÍŪ¤Ê´¶ÁۤǤ¹¤¬¡¢Jcode.pm¤Ï¡¢¥·¥Õ¥ÈJIS¤ÈUTF-8´Ö¤Ç¤ÎÊÑ´¹¤Ç¤Ï¡¢¤¿¤Ó¤¿¤Óʸ»ú¥³¡¼¥É¤Îǧ¼±¤ò¸í¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤Ç¤¹¡£
¡ÊPerl´Ä¶­¤Ë¤â¤è¤ë¡Ë

ʸ»ú²½¤±¤ËÂФ·¤Æ¿À·Ð¼Á¤Ë¤Ê¤ë¤Î¤Ê¤é¤Ð¡¢Åê¹Æ¥Õ¥©¡¼¥à¤Ï¥·¥Õ¥ÈJIS¤ÇºîÀ®¤·¤Æ¤ß¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£

¤½¤ì¤«¤é¡¢¶áÆüÃæ¤Ë¡¢postmail¤ÎUTF-8ÈǤòºîÀ®¤¹¤ë¤Ä¤â¤ê¤Ç¤¹¡£¤½¤ì¤Þ¤ÇÂԤäƤߤƤ⤤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£


µ­»öNo¡§ 9152
Åê¹ÆÆü¡§ 2011/09/09(Fri) 08:38:35
¥¿¥¤¥È¥ë¡§ Re^12: postmail v5.72¤ÎUTF¤Ë¤Ä¤¤¤Æ
ID¾ðÊó¡§ reiko328
Åê¹Æ¼Ô¡§ ¥³¥ó¥Æ¥ó¥ÄÀ©ºîÉô°÷
URL¡§ http://www.nisimino.com/sjsiki/postmail/utf.html

> > ¤³¤Î¾õÂÖ¤Çcgi¤òÆþ¤ìÂؤ¨¤¿¤È¤­¤Ë¤Þ¤¿Ê¸»ú²½¤±¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤Ã¤¿»þ¤¬¤¢¤ë¤Î¤Ç¡¢±ªïè¤Ë¿¨¤ì¤Ê¤¯¤Æ¤Á¤ç¤Ã¤ÈÉÝ¡¹¤Ç¤¹¡¨
> > v5.72¤Ï¡¢¤Þ¤À°ÂÄꤷ¤Æ¤¤¤ë¤È¤Ï¸À¤¨¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡¨
>
> »ä¸«¤Ç¤¹¤¬¡¢¥â¥¸¥å¡¼¥ë¤Î¤Û¤¦¤¬°ÂÄꤷ¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤Í¡£
> ¸Ä¿ÍŪ¤Ê´¶ÁۤǤ¹¤¬¡¢Jcode.pm¤Ï¡¢¥·¥Õ¥ÈJIS¤ÈUTF-8´Ö¤Ç¤ÎÊÑ´¹¤Ç¤Ï¡¢¤¿¤Ó¤¿¤Óʸ»ú¥³¡¼¥É¤Îǧ¼±¤ò¸í¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤Ç¤¹¡£
> ¡ÊPerl´Ä¶­¤Ë¤â¤è¤ë¡Ë
>
> ʸ»ú²½¤±¤ËÂФ·¤Æ¿À·Ð¼Á¤Ë¤Ê¤ë¤Î¤Ê¤é¤Ð¡¢Åê¹Æ¥Õ¥©¡¼¥à¤Ï¥·¥Õ¥ÈJIS¤ÇºîÀ®¤·¤Æ¤ß¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£
>
> ¤½¤ì¤«¤é¡¢¶áÆüÃæ¤Ë¡¢postmail¤ÎUTF-8ÈǤòºîÀ®¤¹¤ë¤Ä¤â¤ê¤Ç¤¹¡£¤½¤ì¤Þ¤ÇÂԤäƤߤƤ⤤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
>

¼ÒÆâ¤ÇUTF-8¤Ç¤·¤«Æ°¤«¤»¤Ê¤¤¥Û¡¼¥à¥Ú¡¼¥¸¤ÎÃæ¤ËÆþ¤ì¹þ¤à°ÙÍѤΥâ¥Î¤À¤Ã¤¿¤Î¤Ç¡¢²¿¤È¤«Æ°¤«¤»¤ÆǤ̳ãÀ®¤Ç¤¹¡ª
°ÂÄꤷ¤¿UTF-8ÈǤ¬½ÐÍ褿¤È¤­¤Ë¤âtry¤·¤Æ¤ß¤Þ¤¹¡ª
ËÜÅö¤Ë¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª


[¸¡º÷¥Ú¡¼¥¸]