I crafted a patch for JTidy to utilize
java.io.InputStreamReader and
java.io.OutputStreamWriter classes to increase
supported encodings to everything that JDK supports.
The modification will cause a lot of the existing
encoding handling code that handles iso-2022 stuff to
be bypassed. Sorry for that.
Since I am a casual visitor to this project, I will
attach a zip archive of the files I modified and leave
it to the core developers to decide if they want to
incorporate it or not in some reasonable fashion.
I was instructed in the forum to post a new 'feature
request' here so I am doing this and I am attaching the
files.
The modified version of JTidy worked fine for me on an
experimental proxy server that does some xslt work on
html pages. Thanks for the nice tool!
Archive of modified/added classes
Logged In: YES
user_id=798060
a new implementation of in/out classes using built-in java
character encoding support is now used by default by jtidy.
Will be released in r8