Hi, I've just started my work with iTextPDF and I met a small problem and I hope you'll help me.
I have got the following code: Document document = new Document(); PdfWriter.getInstance(document, new FileOutputStream(file)); document.open(); Paragraph p1 = new Paragraph("Żńąęasdas", FontFactory.getFont(FontFactory.TIMES_ROMAN, 12, Font.NORMAL, new CMYKColor(255, 255, 255, 0))); p1.setAlignment(Element.ALIGN_RIGHT); document.add(p1); document.close(); All of these work, but in does not write polish chars - "ą", "ń"etc. Could you help me with this issue? Thank you in advance -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-save-UTF-8-characters-to-PDF-file-in-JAVA-tp4658232.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ 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