docs: private String parse(String htmlInput) throws UnsupportedEncodingException {
  
          // prepare the streams
          ByteArrayInputStream in = new ByteArrayInputStream(htmlInput.getBytes(getEncoding()));
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          // do the parsing
          m_tidy.parse(in, out);
          // return the result
          byte[] result = out.toByteArray();
          return new String(result, getEncoding());
      }