FileInputStream in = new FileInputStream("文本"); InputStreamReader isr = new InputStreamReader(in,"GBK"); int c; while ((c=in.read())!=-1) { System.out.print((char)c); } }
添加回答
举报
0/150
提交
取消