1.火狐
response.setHeader("Content-Disposition", "attachment; filename="+ new String(fileName.getBytes("GB2312"),"ISO-8859-1"));
2.谷歌
response.setHeader("Content-Disposition", "attachment; filename="+Encodes.urlEncode(fileName));
1.火狐
response.setHeader("Content-Disposition", "attachment; filename="+ new String(fileName.getBytes("GB2312"),"ISO-8859-1"));
2.谷歌
response.setHeader("Content-Disposition", "attachment; filename="+Encodes.urlEncode(fileName));