直接把中文文件名改为iso-8859-1就可以了~
response.setHeader("Content-Disposition", "attachment;filename="
+ new String(fileName.getBytes(),"iso-8859-1") + ".xls");
直接把中文文件名改为iso-8859-1就可以了~
response.setHeader("Content-Disposition", "attachment;filename="
+ new String(fileName.getBytes(),"iso-8859-1") + ".xls");