//转换字符编码过程中报错,数据会丢失,解决办法:设置第二个参数为gbk//IGNORE$strexport=iconv('UTF-8',"GBK",$strexport); $strexport = iconv("utf-8","gbk//IGNORE",$strexport);