Lines Matching refs:mb_convert_encoding
2 Test mb_convert_encoding() function : array 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() : array functionality ***\n";
38 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'JIS', 'SJIS')));
39 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'JIS', 'EUC-JP')));
40 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'JIS', 'UTF-8')));
46 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS')));
47 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS')));
48 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'EUC-JP', 'UTF-8')));
54 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'SJIS', 'JIS')));
55 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP')));
56 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8')));
62 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS')));
63 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'UTF-8', 'JIS')));
64 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP')));
69 *** Testing mb_convert_encoding() : array functionality ***