摘要: java FileReader/FileWriter读写字母和数字没问题,但读写汉字就乱码。记录下,后面找到解决方法再补上。 public static void main(String[] args) { FileReader fr = null; FileWriter fw = null; tr 阅读全文
posted @ 2016-06-07 22:09 N神3 阅读(525) 评论(0) 推荐(0)
摘要: //读取文件->写出文件 public static void main(String[] args) { InputStream in =null; OutputStream out = null; try{ File file = new File("c:\\123.doc"); in = ne 阅读全文
posted @ 2016-06-07 10:20 N神3 阅读(169) 评论(0) 推荐(0)