URL encoding problem

I seem to have a problem about URL encoding.. You see my users are allowed to upload files and until now there has been no problem with uploading and downloading them..

When the file name has sort of a special character in IE it says the that file cannot be found, while in Mozilla, it doesn't have a problem.. what could be the possible solution for this..?

thanks!

[386 byte] By [Arch_Bytesa] at [2007-11-27 8:42:51]
# 1
Is the problem happening during upload or download?If it is happening during download, make sure that the URLs you provide are URL encoded.
RaymondDeCampoa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
ah.. its in the download.. how can i know if its URL encoded and what should I encode it to?Cause I used UTF-8 or something like that but it still can't find it.
Arch_Bytesa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

This is basic HTML stuff, you might want to check out some tutorials. URL encoding is not a page/file encoding like UTF-8. URL encoding is used to ensure that special characters like spaces, punctuation marks, etc. are not interpreted as URL control characters but as part of a filename or request parameter. A better name for it would be URL escaping, but I'm not in charge of naming things, so there you are. The Java platform provides the java.net.URLEncoder class to do this encoding.

RaymondDeCampoa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
then how do this to be escaped or encoded Brude - VISA, Gassm錶ing.ppt ... im having a problem with this particualar special character..i really am stuck.. in mozilla the download is fine but in IE it can't locate the file.. argh..
Arch_Bytesa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
anyone else?
Arch_Bytesa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
http://www.google.com/search?q=URL+escaping
RaymondDeCampoa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7

ok so I was able to solve the problem.. the next problem is a bit more confusing..

somehow I am able to upload and download the "Brude - VISA, Gassm錶ing.ppt" file perfectly but when I tried it on "Astr錸omy.doc" file or the "astro錮d.ptt" file it won't work..

i've racked the internet for answers but I can't seem to find any..

Arch_Bytesa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
> ok so I was able to solve the problem.. the next> problem is a bit more confusing..Perhaps you should share your answer with the class.
RaymondDeCampoa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 9
i just said that I couldn't find any..
Arch_Bytesa at 2007-7-12 20:42:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...