poi导出中文名出现乱码或者不出现的的情况

来源:互联网 发布:stc89c52rc数据手册 编辑:程序博客网 时间:2024/06/05 17:11
String filePath = exportSavePath + File.separator + fileName;
inputStream = new FileInputStream(new File(filePath));
fileName = new String(fileName.getBytes("gb2312"), "iso8859-1");
0 0
原创粉丝点击