W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2000

Re: bug : file selection dialog

From: P. T. Rourke <ptrourke@mediaone.net>
Date: Wed, 17 May 2000 17:50:42 -0400
Message-ID: <000a01bfc049$f37463a0$5d509318@ne.mediaone.net>
To: "Andrew Pam" <xanni@glasswings.com.au>
Cc: <www-amaya@w3.org>
Thanks, Andrew

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="&quote;http://www.somewhere.com/This is my
file.htm&quote;">Link</a>

?  Will that even work?  When I've tried it, this has worked

<a href="http://www.somewhere.com/This%20is%20my%20file.htm">Link</a>

(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.

Thanks again,
Patrick


> On Wed, May 17, 2000 at 02:39:24PM -0400, P. T. Rourke wrote:
> > Seriously, web page names shouldn't have spaces in them.  If a page is
on an
> > NT box, you can usually get to it in other (non-Amaya) browsers using an
> > escaped space (%20 I think); I haven't tried that in Amaya.  But it's a
bad,
> > bad idea: unix don't like spaces, and some of your readers will be unix.
>
> Not so.  Space is perfectly legal in Unix; you just need to quote it in
> some cases, such as on the command line (where it has another meaning)
> or in a URL (where unquoted spaces are not legal).  Spaces are also
> legal in filenames in (OS/2) HPFS, VFAT (W95 and later), NTFS and HFS.
>
> Of course, a URL with quoted spaces may be somewhat less comprehensible,
> but there's nothing invalid or illegal about it.
>
> 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 17:51:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:34 UTC