解决phpexcel导出到xls文件出现乱码的问题

在header() 前面加上ob_end_clean() 函数,清除缓冲区, 这样就不会乱码了!

原文地址:https://www.cnblogs.com/bk233/p/9023483.html