Hi guys, I have some trouble getting Tomcat to return files with non-English/international characters in their names.
Eg. I have two files in the root app (the standard app in the ROOT folder), one named " tomcat.gif" and another one, which is a copy of "tomcat.gif", named "æøå.gif". When I request "tomcat.gif" using the address "http://localhost:8080/tomcat.gif ", all is fine. The image is shown correctly. But when I request the other one, using "http://localhost:8080/æøå.gif" I get an error 404 along with a description: "description The requested resource (/%C3%A6%C3%B8%C3%A5.gif) is not available." This should be fine, as Tomcat converts it to UTF-8. If I put the two files into a separate directory, eg. "test" and access the directory like "http://localhost:8080/test", I get a directory listing. All good, except that the file " æøå.gif" doesn't display correctly. The characters in the file name are not displayed correctly, and a click on the file returns another error 404. I am running Apache 5.0.x and 5.5.x on Suse Linux 10.x. I can verify that the errors should have nothing to do with file permissions or browser errors. I can open the file " æøå.gif" with a standard image viewer. I have tried setting 'URIEncoding="UTF-8"' in the port 8080 connector, but without success. What do I do? Cheers, Thomas