PHP/ʸ»ú¥³¡¼¥É ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×º¹Ê¬(No.1)
- ¥Ð¥Ã¥¯¥¢¥Ã¥×°ìÍ÷
- ¸½ºß¤È¤Îº¹Ê¬ ¤òɽ¼¨
- ¥½¡¼¥¹ ¤òɽ¼¨
- ¥Ð¥Ã¥¯¥¢¥Ã¥× ¤òɽ¼¨
- 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¤Ç½ÐÎϤ¹¤ëÊýË¡ <?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"); ?>