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);
}
}

posted @ 2016-07-20 11:46  N神3  阅读(1242)  评论(0编辑  收藏  举报