InputStreamReader reader = new InputStreamReader(assets.open("data.txt"),"UTF-8");
BufferedReader br = new BufferedReader(reader);
String line;
//The line below throws an IOException!!
line = br.readLine();
这段代码出了什么问题?
最佳答案
InputStreamReader reader = new InputStreamReader(assets.open("data.txt"),"UTF-8");
BufferedReader br = new BufferedReader(reader);
String line;
//The line below throws an IOException!!
line = br.readLine();
这段代码出了什么问题?