docs: public static Reader encodedInputStreamReader(InputStream stream, String encoding) throws IOException {
      // InputStreamReader doesn't allow encoding to be null;
      if (encoding == null) {
        return new InputStreamReader(stream);
      } else {
        return new InputStreamReader(stream, encoding);
      }
    }