来自专业的译者、企业、网页和免费的翻译库。
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() の例