JasperReport: critical OUTPUT encoding problem

Hi all,

we have a critical situation with our reports, regardings special chars like €, £, umlatus, etc... I set UTF-8 in the critical fields but nothing happens (the system hides the chars with UTF8).

I tried many solutions found in the community, all the system is set to UTF-8 and the database too. We Firebird 2.5 database.

the strange thing is that in my workstation JasperStudio the output is OK!

Please, help me to fix this.

PS. the problem is related to all of kind of outputs (pdfs, rtf, xls, etc...)

Michele

michele.cucci's picture
Joined: Jan 8 2014 - 1:40am
Last seen: 8 years 10 months ago

2 Answers:

Did you set your application server (ie. Tomcat) connector to use UTF-8?

hozawa's picture
190673
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

Yes, in server.xml and web.xml either the encoding is set to UTF-8.

michele.cucci - 8 years 10 months ago

The issue is really strange because if I run the reports by browser (connecting to jasperserver webapp) the output has chars problems. If I run the report output in my JasperStudio workstation, connecting to the same JasperServer, the output is EXCELLENT!

What are the differences? Why this behaviour?

michele.cucci's picture
Joined: Jan 8 2014 - 1:40am
Last seen: 8 years 10 months ago
Feedback
randomness