tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Carlsson <roland.carls...@alfa-moving.se>
Subject URLEncoder
Date Thu, 01 Sep 2005 14:27:06 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message