Read a file character by character/UTF8: Difference between revisions
Content added Content deleted
Line 385: | Line 385: | ||
try { |
try { |
||
/* 'read' will return 0 through 0xffff, and -1 for EOS */ |
/* 'read' will return 0 through 0xffff, and -1 for EOS */ |
||
value = |
value = reader.read(); |
||
} catch (IOException exception) { |
} catch (IOException exception) { |
||
reader.close(); |
reader.close(); |