Lines Matching refs:mb_convert_encoding
2 Test mb_convert_encoding() function : basic functionality
8 * Test basic functionality of mb_convert_encoding()
11 echo "*** Testing mb_convert_encoding() : basic functionality ***\n";
23 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'JIS', 'SJIS')));
24 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'JIS', 'EUC-JP')));
25 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'JIS', 'UTF-8')));
31 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS')));
32 var_dump(base64_encode(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS')));
33 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'EUC-JP', 'UTF-8')));
39 var_dump(base64_encode(mb_convert_encoding($jis_string, 'SJIS', 'JIS')));
40 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP')));
41 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8')));
47 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS')));
48 var_dump(base64_encode(mb_convert_encoding($jis_string, 'UTF-8', 'JIS')));
49 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP')));
54 *** Testing mb_convert_encoding() : basic functionality ***