java跨linux和windows平台写入汉字文件编码
OutputStreamWriter outputStream = new OutputStreamWriter(new FileOutputStream(filePath + depId+ "custtmp/" + fileName), "UTF-8");
不能用buffered Write, 只能用 OutputStreamWriter,因为bufferedWriter是采用系...
原创
2014-04-30 11:27:36 ·
223 阅读 ·
0 评论