$info = array();foreach($_POST as $key => $value){ $info[$key] = iconv("utf-8","gb2312",$value);}//该片段来自于http://www.codesnippet.cn/detail/091220137843.html
来源: http://www.codesnippet.cn/detail/091220137843.html