修改前:
response.setHeader("Content-Disposition", "attachment; filename=" +shortFileName);
修改后:
response.setHeader("Content-Disposition", "attachment; filename=" + new String(shortFileName.getBytes("UTF-8"), "ISO-8859-1"));
修改前:
response.setHeader("Content-Disposition", "attachment; filename=" +shortFileName);
修改后:
response.setHeader("Content-Disposition", "attachment; filename=" + new String(shortFileName.getBytes("UTF-8"), "ISO-8859-1"));