@Override public int read(char[] cbuf, int off, int len) throws IOException { int count = super.read(cbuf, off, len); if (count > 0) { converter.convert(cbuf, off, count); } return count; }
@Override public int read() throws IOException { int ch = super.read(); if (ch < 0) { return ch; } return converter.convert((char) ch); }