code: public Reader create(InputStream is, String javaEncoding)
      throws UnsupportedEncodingException
    {
      if (Charset.isSupported(javaEncoding)) {
        Charset charset = Charset.forName(javaEncoding);
      
        return new InputStreamReader(is, charset);
      }
      else {
        // RSN-274, Charset doesn't support all java.io encoding
        return new InputStreamReader(is, javaEncoding);
      }
    }
docs: Create a JDK-based reader.
  
  @param is the input stream providing the bytes.
  @param javaEncoding the JDK name for the encoding.
  
  @return an InputStreamReader