Encodings don't matter if the form fields are in a font that can't express that encoding.
-----Original Message----- From: Andron [mailto:work.and...@gmail.com] Sent: Monday, April 19, 2010 10:14 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Text in UTF 8 encoding is not showed after xfdf merging with pdf form Hi iText support team! Thanks for previous answers (http://sourceforge.net/mailarchive/forum.php?thread_name=4BC890F7.7060109%401t3xt.info&forum_name=itext-questions), so strange that iText can't do in same way as it is realized in Adobe Acrobat. So in xfdf file we he one field value in UTF8 encoding (tried Farsi and Cyrillic). After pdf form merging with this xfdf file, when we open the new result pdf file in Acrobat - all chars in that field are not showed, only ascii if they are presented in the value. But when I try edit the value in this field (after clicking on that field) - real value is showed there (the same as it is in xfdf file). Also when I change font for that field in Acrobat Pro and back to previous - value is showed... Screenshots: 1. What is showed after the merge: http://i.piccy.info/i5/87/84/18487/1_-_not_showed.png 2. What is showed on field focus: http://62.149.5.84/i5/97/84/18497/2_-_showed_on_field_focus.png We still use a java version of iText. Do you have idea why it is so and how it can be fixed? Regards, Andron. ------------------------------------------------------------------------------ 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 iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/ ------------------------------------------------------------------------------ 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 iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/