Lines Matching refs:mb_convert_encoding
2 Test mb_convert_encoding() function : basic functionality
6 function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this …
11 * Test basic functionality of mb_convert_encoding()
14 echo "*** Testing mb_convert_encoding() : basic functionality ***\n";
26 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'JIS', 'SJIS')));
27 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'JIS', 'EUC-JP')));
28 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'JIS', 'UTF-8')));
34 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS')));
35 var_dump(base64_encode(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS')));
36 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'EUC-JP', 'UTF-8')));
42 var_dump(base64_encode(mb_convert_encoding($jis_string, 'SJIS', 'JIS')));
43 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP')));
44 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8')));
50 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS')));
51 var_dump(base64_encode(mb_convert_encoding($jis_string, 'UTF-8', 'JIS')));
52 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP')));
57 *** Testing mb_convert_encoding() : basic functionality ***