String saveName = fileName + ".ini";
response.setHeader("Content-Disposition", "attachment;filename="
+ new String( saveName.getBytes("UTF-8"), "ISO8859-1" ) ); ;
下载文件时保存中文名称有乱码
最新推荐文章于 2019-08-06 16:00:10 发布
String saveName = fileName + ".ini";
response.setHeader("Content-Disposition", "attachment;filename="
+ new String( saveName.getBytes("UTF-8"), "ISO8859-1" ) ); ;