HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting Can not change default encoding A to B as specified in HTML

Viewing 1 post (of 1 total)
  • Author
  • #26166

    The exception tells, that PD4ML encountered a charset directive, whose value differs from the default. It tries to re-open the input stream in order to apply the new encoding, but it can not in the particular case (for example, InputStream.reset() is not supported).

    The simpliest workaround is to use
    public void render( URL url, OutputStream os )
    instead of your approach.

Viewing 1 post (of 1 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.