Reputation: 6363
I have some utf-8 characters in jasperreports template. In iReport editor everything fine. But after compiling the output PDf can not draw the valid unicode characters and draws ? instead.
How can I fix it? Thank you
Upvotes: 7
Views: 15103
Reputation: 5124
if you have problems displaying UTF-8 characters in the pdf, no need to do anything! Just change the font of the cells in the table from sanserif to Dejavu sans. thats it.
Upvotes: 0
Reputation: 6363
In order to enable unicode support in output PDF file you have to:
This is solution for latest versions of JasperReports (tested on 4.5.0)
Upvotes: 8