fernandor wrote:
> We have the following problem when trying to generate reports using the
> library itextAsian.jar:
> 
> When we generate the pdf, using this library, where it is generated from a
> web application running under tomcat, PDF is generated correctly. And the
> Japanese characters read well.

Which proves that iText works correctly.

> The same application, running under Weblogic the characters are a garbled
> symbols, in particular characters within the pdfTables

Which proves that something is different when you deploy it on Weblogic.

> -If we generate the pdf without tables, then the Japanese text is read
> correctly. "This problem only happen on the pdf tables
> (com.lowagie.text.pdf.PdfPTable)."

Let me guess: in the example WITHOUT table, the data is hardcoded.
In the example WITH table, the data comes from a database.

If I'm right, then you are making a newbie error:
the data that is returned by the database has the wrong encoding.

This is not an iText problem, but a database problem.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to