Hello Thank you so much for your reply. somewhat, I managed to solve the problem
I changed the part in which font is creating to this: BaseFont baseFont = BaseFont.createFont("c:\\WINDOWS\\fonts\\times.ttf", BaseFont.IDENTITY_H, true); Font font = new Font(baseFont); and now, I can see the right characters in the pdf, but another problem has occured I am using both Arabic and English characters, but Arabic characters are seperated and not connected to each others I am not sure you know about arabic writing or not, but in Arabic, characters stick together if they appears right after or before any other character and there was no space between, but in my result they are separated and it seems there is a space between them. I saw a class namely, ArabicLigaturiser (I'm not sure in name) is this used in such issues? another question is that in above code, I found it from the web, the font name is hardcoded and this is not good, our application may install in any machine and in this condition, we have to change the path of the font based on the path of the windows installed. and we have to compile the code for each machine, is there any workaround? Thank you again -- View this message in context: http://www.nabble.com/Problem-with-UTF-8-String-and-PDF-tf3543453.html#a9933614 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/