class iso8859 { public static void main(String[] args) { try { FileInputStream is = new FileInputStream("file.txt"); InputStreamReader in = new InputStreamReader(is, "ISO-8859-1"); int ch; while ((ch = in.read()) != -1) { System.out.print(Integer.toHexString(ch) + " "); if(ch == 0xe4){// aウムラウトを補足 System.out.print("← a-umlaut "); } } in.close(); } catch (IOException e) { System.out.println(e); } } }