View Single Post
  #2 (permalink)  
Old 10-29-2008, 09:05 AM
chlauber chlauber is offline
Senior Member
 
Posts: 72
Default Umlaut problem solved.

Needed to add -Dorg.mortbay.util.URI.charset=UTF-8 to var JAVA_OPTIONS in /opt/zimbra/etc/jettyrc

Seems that jetty uses other default URI encoding than UTF-8:
Quote:
Some drafts were prepared by various standards bodies suggesting that UTF-8 would become the standard encoding. Older versions of jetty (eg 4.0.x series) used UTF-8 as the default in anticipation of a standard being adopted. As a standard was not forthcoming, jetty-4.1.x reverted to a default encoding of ISO-8859-1.
See International Characters and Character Encodings - Jetty - Codehaus

Thus UTF-8 URI encoding seems default in AjxStringUtil.urlEncode(str) this would probably be a good idea to set this as default in Zimbra jetty?

Last edited by chlauber; 10-30-2008 at 03:12 AM..
Reply With Quote