Nick80 wrote:
> Hi,
> 
> I'm trying to change an existing pdf document using iText. I have added a
> text field to the original pdf document and I can fill it with text. However
> characters like ë, è, à, é, ... aren't showing up. What do I need to change
> in order for them to show up?

Do they show up if you fill out the form in the PDF manually?

If no:
the font that is defined for the form field doesn't have
those characters. Can you create the form field defining
another font for the content?

If yes:
are you sure your JAVA code uses the right encoding?
I've seen the same problem where special chars were
hardcoded in a Java file saved in one encoding, but
then compiled using a compiler that expected another encoding.
The same can happen with databases: a field can be stored
in one encoding, then read in the assumption that the String
is encoded using another encoding.

There might be other reasons, but these are the most
obvious I can think of for the moment.
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to