I am working on a task to covert html fragment to pdf using iText HTMLWorker.  i put some unicode of chinese words such as \u80CC\u666F in a String and try to parse it using worker.parse(stringReader) method, but i got nothing output.
 
I tried chinese words directly, it replaced by "?".
 
It seems method SimpleXMLParser.parse(SimpleXMLDocHandler doc, InputStream in) detects source encoding, but no call to it from HTMLWorker.
 
How can i get Chinese output correctly ?

Reply via email to