I am trying to generate or export to PDF a jasper report but I can’t display nihongo or japanese characters. How do I fix this.
I am trying to generate or export to PDF a jasper report but I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update
From the comment: 6 years later, the correct way to display character in Jasper Reports is using font-extensions, e.g. see https://stackoverflow.com/a/33941102/254109
Original answer
Make a file
jasperreports.properties, put it in the class path and set the PDF encoding.Or make base style in a report, set what you need, and all other styles derive from this style, i.e. they have an attribute style=”base”.