1、下载zip文件时,当文件名为中文时,会出现乱码问题
response.addHeader("Content-Disposition",
"attachment;fileName="+ URLEncoder.encode(fileName, "UTF-8"));
解决方案:将文件名按照UTF-8字符集进行编码
2、待续
1、下载zip文件时,当文件名为中文时,会出现乱码问题
response.addHeader("Content-Disposition",
"attachment;fileName="+ URLEncoder.encode(fileName, "UTF-8"));
解决方案:将文件名按照UTF-8字符集进行编码
2、待续