Read a file character by character/UTF8: Difference between revisions

Line 385:
try {
/* 'read' will return 0 through 0xffff, and -1 for EOS */
value = (char) reader.read();
} catch (IOException exception) {
reader.close();
118

edits