$filename = 'hehe.xls'; header ('Content-type: text/html; charset=UTF-8');header ( "Content-type:application/vnd.ms-excel; charset=UTF-8");header ( "C...
分类:
Web程序 时间:
2014-07-24 21:21:23
阅读次数:
161
如果导出中文时出现乱码,可以尝试将字符串转换成gb2312,例如下面就把$yourStr从utf-8转换成了gb2312:$yourStr = mb_convert_encoding("gb2312", "UTF-8", $yourStr); 总结 php导出Excel php导入Excel Php...
分类:
Web程序 时间:
2014-06-17 00:55:10
阅读次数:
271