tomcat-users mailing list archives

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

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.

Happily using M2, Opera's revolutionary e-mail client:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message