试试 try { BufferedReader in = new BufferedReader( new InputStreamReader(new FileInputStream(文件路径+文件名), "8859_1")); String str = in.readLine(); system.out.println(str); } catch (UnsupportedEncodingException e) { } catch (IOException e) { }
试试 try { BufferedReader in = new BufferedReader( new InputStreamReader(new FileInputStream(文件路径+文件名), "8859_1")); String str = in.readLine(); system.out.println(str); } catch (UnsupportedEncodingException e) { } catch (IOException e) { }