- From: Andrew Pam <xanni@glasswings.com.au>
- Date: Thu, 18 May 2000 12:29:38 +1000
- To: "P. T. Rourke" <ptrourke@mediaone.net>
- Cc: www-amaya@w3.org
On Wed, May 17, 2000 at 05:50:42PM -0400, P. T. Rourke wrote: > There's legal, and there's legal but undesirable. Spaces in filenames are > legal in VFAT (I had not known that they were legal in EXT2, since unquoted > they aren't legal in the console), but I would NOT use them in the name of a > web page. > > Wouldn't you have to link it > > <a href=""e;http://www.somewhere.com/This is my > file.htm"e;">Link</a> > > ? Will that even work? No, that probably won't work. The use of double quotes for protecting spaces in filenames applies to command-line shells, not URLs. > When I've tried it, this has worked > > <a href="http://www.somewhere.com/This%20is%20my%20file.htm">Link</a> Yes, that works. It's also perfectly legal, if ugly. I believe you should also be able to use the "+" character to encode spaces in URLs. > (I might be getting the escape character wrong), but I still wouldn't > recommend it (for one thing, it's ugly). For anything but a GUI file > manager, spaces are a pain in the neck. Well, quoting isn't THAT hard. But I agree that it's not particularly nice in URLs. Mind you, long filenames can be harder to read without the spaces! Cheers, *** Xanni *** -- mailto:xanni@xanadu.net Andrew Pam http://www.xanadu.com.au/ Chief Scientist, Xanadu http://www.glasswings.com.au/ Technology Manager, Glass Wings http://www.sericyb.com.au/sc/ Manager, Serious Cybernetics P.O. Box 26, East Melbourne VIC 8002 Australia Phone +61 0401 258 915
Received on Wednesday, 17 May 2000 22:25:52 UTC