bufferedReader 乱码问题
public static void main(String arsg[]) throws Exception{
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream("c:/123.doc") ,"utf-8"));
String str ="";
while((str=bufferedReader.readLine())!=null){
System.out.println("..............");
System.out.println(str);
}
}
感谢您的阅读,您的支持是我写博客动力。