[gatein-dev] Setting URIEncoding to UTF-8 in server.xml

Matthew Wringe mwringe at redhat.com
Wed Mar 17 11:46:14 EDT 2010


There have been a few issues which have been brought up in regards to
portal and tab names not working properly if they contain non ascii
characters.

https://jira.jboss.org/jira/browse/GTNPORTAL-337
https://jira.jboss.org/jira/browse/GTNPORTAL-596

These are due to the portal using utf-8, while tomcat/jboss is
configured to use iso-8859-1 encoding for the url.

In both cases if the URIEncoding is set to UTF-8 in the server.xml (or
if useBodyEncodingForURI is set to true) then it works.

For the portal naming issue it was possible to get around it in the
code, for the tab issue its going to be a bit more complex.

Can we just change the URIEncoding in the server.xml for the bundles we
create? or would it be better to find workarounds for this issue in the
portal code itself?



More information about the gatein-dev mailing list