BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(ksmgVo.getFiledata()), "utf-8"));
while(br.ready()){
String line = br.readLine();
//readLine读取第一行会有bug,第一个字符为空字符
char c = line.charAt(0);
if(c==65279) { //65279是空字符
line = line.substring(1);
}
System.out.println(line);
}
br.close();