Lines Matching refs:iconv
2 Test iconv() function : basic functionality
5 extension_loaded('iconv') or die('skip');
6 function_exists('iconv') or die("skip iconv() is not available in this build");
10 /* Prototype : string iconv(string in_charset, string out_charset, string str)
12 * Source code: ext/iconv/iconv.c
16 * Test basic functionality of iconv()
19 echo "*** Testing iconv() : basic functionality ***\n";
30 var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string )));
31 var_dump(bin2hex(iconv('UTF-8', 'EUC-JP', $utf8_string)));
37 var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string)));
38 var_dump(bin2hex(iconv('UTF-8', 'SJIS', $utf8_string)));
44 var_dump(bin2hex(iconv('SJIS', 'UTF-8', $sjis_string)));
45 var_dump(bin2hex(iconv('EUC-JP', 'UTF-8', $euc_jp_string)));
50 *** Testing iconv() : basic functionality ***