//转换字符编码过程中报错,数据会丢失,解决办法:设置第二个参数为gbk//IGNORE
$strexport=iconv('UTF-8',"GBK",$strexport); $strexport = iconv("utf-8","gbk//IGNORE",$strexport);
posted on 2018-07-20 15:15 薇薇123456 阅读(178) 评论(0) 编辑 收藏 举报