I am trying to get font with UTF-8, but no success. Currently i use:
PdfPCell cell = new PdfPCell(new Paragraph(new String("čšđćž".getBytes("UTF-8")), new Font(Font.FontFamily.TIMES_ROMAN, 14)));
I get only: šž, so it is font problem?
I am trying to get font with UTF-8, but no success. Currently i use:
PdfPCell cell = new PdfPCell(new Paragraph(new String("čšđćž".getBytes("UTF-8")), new Font(Font.FontFamily.TIMES_ROMAN, 14)));
I get only: šž, so it is font problem?