code: public static BufferedReader newReader(InputStream self, String charset) throws UnsupportedEncodingException {
          return new BufferedReader(new InputStreamReader(self, charset));
      }
docs: Creates a reader for this input stream, using the specified
  charset as the encoding.
  
  @param self    an input stream
  @param charset the charset for this input stream
  @return a reader
  @throws UnsupportedEncodingException if the encoding specified is not supported
  @since 1.6.0