Op 27/07/2012 12:32, Harsha Kaundinya schreef: > The logic used to set the code to Arial Unicode MS is there below - > > str is an arabic string that comes from a database.
Replace str with "\u0644\u0648\u0631\u0627\u0646\u0633 \u0627\u0644\u0639\u0631\u0628". What happens? If the text says "Lawrence of Arabia" in correct Arabic, then it's not an iText problem. It's something you're doing wrong, for instance: you're extracting the String from the database using the wrong encoding. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php