我用JSP页面实现导出excel功能,但是当title为中文的时候会提示iso-8859-1 cannot convert to .... 改成英文或数字就没问题,哪位高手能帮下小弟。谢谢
response.setHeader("Content-Disposition",
"attachment; filename="+title+".xls");
response.setContentType("application/x-msdownload");
response.setHeader("Content-Disposition",
"attachment; filename="+title+".xls");
response.setContentType("application/x-msdownload");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货