[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[abcde] mungefilename ()



One more thing that I've been wondering about...

The mungefilename () function...

Now I understand that Windows is not too happy with colons, backslashes, and a couple of other characters, but why does the mungefilename function convert _spaces_ to underscores?

I'm very aware that changing the behaviour of mungefilename is easy, but I'm interested to know what sort of problems you might come accross if you don't convert spaces to underscore... Windows shouldn't have a problem with it, and nor should macs (or...?). FreeBSD (and linux) definatly don't have a problem with it so long as you enclose the file names in double quotes (").

Just... don't want to take away the spaces unless I might need to, and don't want to go through the process of renaming all my files in the future.

Thanks a lot for any comments!
Espen
To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org