プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。
euc-kr
euc-kr
最終更新: 2016-10-10
使用頻度: 3
品質:
/* convert internal character encoding to sjis * / $str = mb_convert_encoding( $str, "sjis"); / * convert euc-jp to utf-7 * / $str = mb_convert_encoding($str, "utf-7", "euc-jp"); / * auto detect encoding from jis, eucjp-win, sjis-win, then convert str to ucs-2le * / $str = mb_convert_encoding($str, "ucs-2le", "jis, eucjp-win, sjis-win"); / * "auto "is expanded to "ascii,jis,utf-8,euc-jp,sjis" * / $str = mb_convert_encoding($str, "euc-jp", "auto");
例 1 mb_convert_encoding() の例