乱码的读取方式
BufferedReader read = new BufferedReader(new FileReader(new File(filename)));
解决方案:使用InputStreamReader:字节流到字符流的桥梁
InputStreamReader isr = new InputStreamReader(new FileInputStream(file), "UTF-8");
BufferedReader read = new BufferedReader(isr);