Tidy - UTF-8 problem

"anusha r" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Hi

I am running Tidy on an input xml file containing a right single quotation
mark --> [ ' ]. The document's encoding correctly specifies that it is
UTF-8. Running Tidy from the command line outputs the quote properly while
using jtidy substitues some other unicode characters for the quote.
My cmd line options were: --escape-cdata false -xml -utf8
My java code has:
 tidy.setEscapeCdata(false);
            tidy.setXmlTags(true);
           tidy.setCharEncoding(Configuration.UTF8);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.