I have a tomcat (7) server running, through which I try to access some public files by http. Some of the files on the filesystem have special characters in them. The ones without those special characters are found. The other ones give a 404. For example:
http://localhost:9090/processed/transcoded/Csángó_TÖMEGKERESZTELŐVEL_EGYBEKÖTÖTT_búcsú_Istensegítsfalvá20111053491309424029417_extracted.mp3"
From what I found out utf-8 in urls shouldn't be a problem. I've tried an url escape function on the filename, which resulted in:
... but that didn't seem to solve anything either. What to try next? I have no clue what the problem is. Is it maybe related to a Tomcat settings?
Do you have
URIEncoding="UTF-8"
in your<Connector
? If yes, here's what I would do:/processed/transcoded/*
java.io.File
using this path (obviously prepending local location, e.g./home/someuser/files/...
and assuming the file is there).I don't think tomcat does much more than what is listed above.
Another alternative would be to debug the Tomcat itself.