时间:2021-07-01 10:21:17 帮助过:12人阅读
function charsetUTF8($params) { extract($params); $str=iconv("gb2312","UTF-8",$text); return $str; }$smarty->register_function("Util", "charsetUTF8");
{section name=gro_id loop=$gro} {/section}
echo charsetUTF8($params); 这里乱码吗