Changing the URIEncoding="UTF-8" just worked.
thanks

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2008 5:29 PM
To: Tomcat Users List
Subject: Re: tomcat 5.5 Unicode issues!

Shahar Cohen wrote:
> Hi,
> Well I didn’t quite understand you all the way but trying to use your example 
> lats say I have a file named Hello%20There.html when I try to access this 
> file I get 404.
> Probably because the tomcat recognize the character % as illegitimate.
> So is there a way to tell tomcat that special characters like % â €™ will be 
> parsed correctly if its not Unicode issue that what can it be?

You need to escape the %

The url for that file, assuming it was located in the ROOT context would be:

http://host:port/Hello%2520There.html

> Thanks in advanced

If your file names are UTF-8 encoded then you should be using
URIEncoding="UTF-8" on your connector.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to