tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn <javajun...@koyuru.com>
Subject Re: Simple question on Unicode URL in Tomcat
Date Mon, 02 Jun 2003 05:10:35 GMT
Hiho,

try something like:

 String s = URLEncoder.encode(s, enc);

s is your URL and enc is the java encoding such as "Shift_JIS".  See 
URLEncoder for more info.

Will work from java 1.4 I believe.

Had the same problem and this seems to solve it just fine.
-- 
Shawn

Happily using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/

---------------------------------------------------------------------
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