IE7 下载EXCEL注意地方

原本使用IE6,写上
    response.setHeader("Content-Disposition", "attachment; filename=".concat(new String("test.xls"));//定义文件名 
可以下载EXCEL,而使用IE7后,无法下载,需要修改为
 response.setHeader("Content-Disposition", "attachment; filename=".concat(new String("test.xls".getBytes("gb2312"),"iso8859-1")));
原文地址:https://www.cnblogs.com/Anlycp/p/1229452.html