Hello All,
I am a newbie to iText. I have tried to search the forum for two days to resolve a PDF generation problem. The idea is to have a HTML generated dynamically and then write it to a PDF (at the web server). it works fine if the HTML is english. however when the HTML has greek + english content. It does not write the Greek Characters. my understanding is the fonts encoding is to be changed (I am not sure how to do it). please excuse me if this problem as already been addressed.if any one is aware of it please provide me the link or tips. Please find the code snippet: baosPDF = new ByteArrayOutputStream(); baisHTML = new ByteArrayInputStream(pdfHtml.toString().getBytes("UTF-8")); document = new Document(); PdfWriter writer= PdfWriter.getInstance(document, baosPDF); HtmlParser.parse(document, baisHTML); thank you in anticipation Jayasree -- View this message in context: http://www.nabble.com/Html-parser-to-accept-mixed-language-content-%28english-%2B-greek%29-tp20010463p20010463.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php