Hi,
I just notice that, even if I set up catalina.sh inserting -Dfile.encoding=UTF8, I get a report whose title does not contain accent symbol like “à”.
For example : I shoud have : Attività , but I get Attivit (without the accented letter)
I have to add that this works on Apache over windows , putting -Dfile.encoding=UTF8, while on linux editing catalina.sh like this : JAVA_OPTS=“$JAVA_OPTS -server -Xms2048m -Xmx12288m -XX:MaxPermSize=512m -Dfile.encoding=utf8” doesn’t work.
it’s a birt report, I’m also noticing that the default “script reports” ,that you find after installed reportserver , has the name nderungshistorie…(this is always under linux, while in windows I can see the accented letters)
this could also be caused by the database encoding, or the encoding of the database connection.
Please take a look at this topic, it covers most of the things that might cause trouble:
Hi,
I’m following the above mentioned post, but after replacing the two libs rsbase.jar and dejavu-fonts-2.34.jar
I’m getting this error any time I run a preview of a pdf birt report :
Apache Tomcat/7.0.61 - Error report
HTTP Status 500 - Filter execution threw an exception
type Exception report
message Filter execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Filter execution threw an exception
I rolled back the old libs and I don’t have the above error, but I’m not still getting the accented letters(missed accented letters). I also checked my db configuration (it’s oracle 12) and it is utf8.
Below part of my server.xml :
…
—> Maybe it has to be without “-” character?
OK, I fixed the issue…it was sufficient to re-upload the rptdesign file after having changed the charset value on main.cf file and having added -Dfile.encoding=utf8 (as java_opts value) on catalina.sh script.