//FileReader reader = new FileReader(file); //注意亂碼問題 InputStreamReader isr = null; try { isr = new InputStreamReader(new FileInputStream(file), "GBK"); } catch (UnsupportedEncodingException e1) { e1.printStackTrace(); } BufferedReader bufferedReader = new BufferedReader(isr); try { while(true){ info = bufferedReader.readLine(); if(info == null){ break; } System.out.println(info); } } catch (IOException e) { e.printStackTrace(); }