"Anders K. Olsen" wrote ...
> And not even MSIE likes the conversion of 'å' to %c3%a5.
Hi Anders,
If it were me I would do the following...
Store the references to the documents in a database, store the "original"
name, but also a browser friendly name, ie, strip out all special
characters, spaces and anything else which potentially could cause problems.
Have a function that will "ProperCase" the remaining words, join them all
together and store this as the file name.
Create a "download" page which takes an id from your hyperlink and runs off
to the database to get the file. It can then pick up both names, the
original one to locate the file on your pc/server, and the browser friendly
one to give/send to the user.
Your URL that you display may look something like this:
http://www.yoursite.com/Download.aspx?fid=123
You could in addition then, also add to that page a routine to determine if
the file should be available to the user or not, based on perhaps a flag,
and obsolete date or whatever, thus increasing the scope of what you can do.
I trust this information is of use to you.
Regards
Rob