[PHP-users 4706] Re: sjis ¤Ç åãèï ›¤Â¡Éǽ¡É
Tomoyuki Asakawa
php-users@php.gr.jp
Mon, 14 Jan 2002 22:06:01 +0900
¤¢¤µ¤«¤ï
>> ¤Ç¤â¡¢META¤Ï¡¢SJIS¤Ë¤·¤Æ¤Í¡¼¡¼¤ó¤È¸À¤ï¤Ê¤¤¤È¤Ê¤é¤Ê¤¤¤Ç¤¹¤è¤Í¡£
>> #EUC¤Ç¡¢½ÐÎϤ¹¤ë¤È¡¢YAHOO¤ß¤¿¤¤¤Ë¡¢Ê¸»ú²½¤±¤¹¤ë»ö¤¬¤¢¤ë¤«¤é
>> #SJIS¤Ç½ÐÎϤ·¤¿Êý¤¬Ê¿Ï¤À¤·¡¢i-mode¤ÎÌäÂê¤â¤¢¤ë¤·¡£
>
> ¾¯¤Ê¤¯¤È¤â PHP ¤Ç½ÐÎϤ¹¤ë¤È¤¤Ë¤Ï¡¢HTTP Header ¤Ë charset ¤â(¼«Æ°Åª
> ¤Ë)½ñ¤¤¤Á¤ã¤¦¤Î¤Ç META HTTP-EQUIV ¤Ê¤ó¤«¤Ä¤±¤Ê¤¤Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
¥É¥ê¤Ê¤É¡¢¥ª¡¼¥µ¥ê¥ó¥°¥Ä¡¼¥ë¤¬¡¢¾¡¼ê¤Ë¡¢META¤Ë¡¢charset½ñ
¤¤¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤è¡£
¤À¤«¤é¡¢EUC¤Ë¤·¤Æ¤â¤é¤Ã¤¿¾ì¹ç¡¢charset¤âEUC¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¡£
¤â¤Á¤í¤óÀßÄê¤Ç¡¢META¤ò½ñ¤«¤Ê¤¤¤Î¤â¤¢¤Ã¤¿¤È¤Ï¤ª¤â¤¤¤Þ¤¹¤¬
̵¤¤¥Ä¡¼¥ë¤â¤¢¤ê¤Þ¤¹¤è¤Í¡£(¥Û¡¼¥à¥Ú¡¼¥¸¤Ó¤ë¤À?)
¤Ê¤Î¤Ç¡¢µÕ¤ËPHP¤Ç¡¢META¤«¤éÌ·½â¤¹¤ë¡¢charset¤Ïºï½ü¤·¤Æ¤Û¤·¤¤¤È¤â»×¤¦¡£
> ÆâÉô¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤ÎÏäò¤·¤Æ¤¤¤ë¤È¤¤Ë¡¢¤Ê¤¼½ÐÎϤΤ³¤È¤¬½Ð¤Æ¤¯¤ë¤Î
> ¤«¤è¤¯¤ï¤«¤ê¤Þ¤»¤ó¤±¤É¡¢
¤¨¡¼¤È¡¢¥Ç¥£¥¶¥¤¥Ê¡¼¤Ë¡¢EUC¤Ë¤·¤Æ¤¯¤ì¤È¸À¤¨¤Ð¤è¤¤¤È¤¤¤¦¡¢È¯¸À¤Ë¤¿¤¤¤·¤Æ
ÆâÉô¥¨¥ó¥³¡¼¥É¤Î»ö¤À¤±¤ò¹Í¤¨¤Æ¤¤¤Æ¤âº¤¤ë¤È¤¤¤¦»ö¤¬¤¤¤¤¤¿¤«¤Ã¤¿¤Þ¤Ç¤Ç¤¹¡£
>½ÐÎϤ¬ SJIS ¤À¤ÈÆâÉô¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤â SJIS ¤Ç
>¤Ê¤¯¤Á¤ã¤¤¤±¤Ê¤¤¤È¤¤¤¦¸í²ò¤¬¡¢¤Ê¤«¤Ê¤«°ìÈ̤Ëʧ¿¡¤µ¤ì¤Æ¤¤¤Ê¤¤µ¤¤¬¤·¤Þ¤¹¡£
¸í²ò¤È¤¤¤¦¤è¤ê¡¢Íý²ò¤µ¤ì¤Ë¤¯¤¤¤È»×¤¤¤Þ¤¹¡£
¤Þ¤¿¡¢PHP3¤Î¾ì¹ç¡¢¥¹¥¯¥ê¥×¥ÈSJIS¤Ç¤âÆâÉô½èÍý¤Ï¡¢EUC¤Ë¤Ê¤ë¤Î¤Ç
¥×¥ì¡¼¥ó¤Êsjis¥Æ¥¥¹¥È¤òÆɤ߹þ¤à¤Ë¤Ï¡¢ÊÑ´¹¤¬É¬Íפˤʤê¤Þ¤¹¡£
¤È¤³¤í¤¬¡¢¤½¤ì¤Ï¡¢¤ä¤Ï¤ê¡¢¤ï¤«¤ê¤Ë¤¯¤¤¡£
¥³¡¼¥É·Ï¤Ê¤É¤òÃΤé¤Ê¤¯¤Æ¤Ï¡¢¤Á¤ã¤ó¤È»Å»ö¤¬¤Ç¤¤Ê¤¤¤È¤¤¤¦»ö¤â»ö¼Â¤Ç¤¹¤·
»ä¤Ï¡¢¤½¤¤¤¦¿Í¤·¤«¥Ñ¡¼¥È¥Ê¡¼¤Ë¤Ï¤·¤Þ¤»¤ó¤¬¡£
¤¤¤ï¤æ¤ë¡¢¡Ö¤ªµÒ¡×¤Ï¤½¤¦¤Ï¤¤¤«¤Ê¤¤¤Ç¤¹¡£
¤Ç¡¢¸½¾õ¤Ï¤È¤â¤«¤¯¡¢ÉáÄ̤οͤ¬¡¢¥³¡¼¥É¤ò°Õ¼±¤·¤Ê¤¯¤Æ¤Ï
¤Ê¤é¤Ê¤¤¤È¤¤¤¦¾õ¶·¤ÎÊý¤¬¤ª¤«¤·¤¤¤È»×¤¤¤Þ¤¹¡£
¤Ç¤½¤Î²þÁ±¤Ï¤·¤«¤¿¤¬¤Ê¤¤¡á̵Íý¤Ê¤Î¤À¤±¤É¡¢¤½¤ì¤ò¡¢ºÇ¾®¤Ë¤¹¤Ù¤¤À¤È¤Ï
»×¤¦¤Î¤Ç¤¹¤è¡£
¡ôÎò»ËŪÇطʤϤÁ¤ã¤ó¤È¤·¤Ã¤Æ¤Þ¤¹¤è¡£
¡ôÁ°¿¦¤Ç¤Ï¡¢SJIS¤¬¡¢MS´Á»ú¤È¸À¤ï¤ì¤ëÁ°¤Î¡¢´Á»úCPM¤ÎÀ©Äê»þ¡©¤Ë°Õ¸«½ñ¤â½ñ
¤¤¤Æ¤ë¤°¤é¤¤
¡ô£Ð£Ã¶È³¦¤Ë¤¤¤Þ¤¹¤«¤é¡£