function convertEncoding($in_charset, $out_charset, $arr) { return eval('return '.iconv($in_charset,$out_charset,var_export($arr,true)).';'); }