mb_language( "ja" ); mb_internal_encoding("UTF-8"); // SHIFT_JIS に変換 $str = mb_convert_encoding( $str, "cp932", "utf-8" ); // EUC_JP に変換 $str = mb_convert_encoding( $str, "eucJP-win", "utf-8" );