PHP/ʸ»ú¥³¡¼¥É ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥½¡¼¥¹(No.2)
- ¥Ð¥Ã¥¯¥¢¥Ã¥×°ìÍ÷
- º¹Ê¬ ¤òɽ¼¨
- ¸½ºß¤È¤Îº¹Ê¬ ¤òɽ¼¨
- ¥Ð¥Ã¥¯¥¢¥Ã¥× ¤òɽ¼¨
- PHP/ʸ»ú¥³¡¼¥É ¤Ø¹Ô¤¯¡£
- 1 (2008-04-27 (Æü) 07:46:38)
- 2 (2008-04-27 (Æü) 07:50:32)
- 3 (2008-11-03 (·î) 07:30:54)
- 4 (2008-11-03 (·î) 12:02:24)
[[PHP]] *UTF-8¤Çºî¤Ã¤¿¥Ú¡¼¥¸¤òShift-JIS¤Ç½ÐÎϤ¹¤ëÊýË¡ #pre{{ <?php header('Content-Type: text/html; charset=Shift_JIS'); ob_start(); ?> ¤³¤³¤ËShift-JIS¤Ç½ÐÎϤ·¤¿¤¤ÆâÍƤòUTF-8¤Çµ½Ò¡£ <?php $output = ob_get_contents(); ob_end_clean(); echo mb_convert_encoding($output, "SJIS", "UTF-8"); ?> }} ¥Í¥¿¸µ[[IDEA*IDEA>http://www.ideaxidea.com/archives/2008/04/phpob_start.html]]