Home
Analytics
BIRT Viewer URL encoding problem
LAlex
Hi everybody,
I'm currently trying to install the BIRT 2.5.1 Web viewer example on Tomcat 6.0.18 running on a JRE 1.6.
The problem that I'm facing is that URL encoding is UTF-8 for my BIRT application whereas the standard URL encoding for Tomcat is ISO-8859-1
I added the URIEncoding="UTF-8" attribute to the port connector definition in my server.xml and it seems to work better like that.
But my application is not the only one running on the instance of Tomcat and others DO NOT support URL UTF-8 encoding... so I can't change the URIEncoding attribute to meet my needs.
Does the BIRT WebViewer himself encoding can be changed or configured from UTF-8 to ISO-8859-1 ? A property in the viewer.properties perhaps ? Or a tag in the web.xml ?
Thanks for you help.
Regards,
Alexandre.
Find more posts tagged with
Comments
jhelbling
Hi,
Don't you have in your WebViewer's WEB-INF folder a file called jrun.web.xml with for example the following content :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jrun-web-app PUBLIC "-//Macromedia, Inc.//DTD jrun-web 4.0//EN" "
http://jrun.macromedia.com/dtds/jrun-web.dtd">
;
<jrun-web-app>
<load-system-classes-first>false</load-system-classes-first>
<uri-character-encoding>UTF-8</uri-character-encoding>
<enable-jrun-web-services>false</enable-jrun-web-services>
</jrun-web-app>
LAlex
Hi,
Thank you for the response but i think that the jrun.web.xml file aims to configure the webviewer within a Adobe Jrun server. I'm not in this case : the webviewer application runs on Tomcat so i don't think this configuration file should solve my encoding pb...
Alex.