try {
fileName = URLEncoder.encode(fileName, "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
response.setHeader("Content-disposition", "attachment;filename="+fileName+";"+"filename*=utf-8''"+fileName);
java导出excel文件名乱码处理
猜你喜欢
转载自blog.csdn.net/c5113620/article/details/102975856
今日推荐
周排行