1. 程式人生 > >下載文件時,ie中文名亂碼

下載文件時,ie中文名亂碼

下載 ie 中文亂碼

  response.addHeader("Content-disposition", 
		        "attachment; filename=" + new String(file.getName().getBytes("GBK"), "ISO8859-1"));


下載文件時,ie中文名亂碼