Try to set a default character encoding for both app [yours and tomcat].
Viorel Dragomir . .. ------------------------------------------------------------------- ----- Original Message ----- From: Roland Carlsson To: tomcat-user@jakarta.apache.org Sent: Thursday, September 01, 2005 16:27 Subject: URLEncoder Hi! Why does my standalone application encode characters different than in Tomcat? The swedish letters åäö run through java.net.URLEncoder("åäö", "ISO8859_1") in my application i get: %E5%E4%F6 but when i run the same code through Tomcat i get: %C3%A5%C3%A4%C3%B6 Characterencoding is difficult enough without java being consistent. Thanks in advance Roland Carlsson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]