Hello Hrovje, > > But: a character being unsafe for URL doesn't mean that the same > character must be unsafe for the file name. Wget currently contains > the two, and that's a bug. I'll try to fix that bug by adding another > bitflag to the table, e.g. "F" which means "reserved for file name", > i.e. the character is unsafe, but don't touch it when encoding for > file names. >
Yes, I think, that is the point. The 'safe encoding' of 'unsafe characters' is necessary and correct on the wire, but should not be used on local filenames, where other constraints apply. I know that various DOS and Windows versions have their own set of charcters which are not allowed in filenames and cannot be used. I think this has been discussed several times on the mailing list. Unix filesystems, on the other hand, usually allow every character in a filename with the only exception, the directory delimiter '/'. Meanwhile I have found more and more ocurrences of the problem. The brackets are relatively rare, that was just the first case I saw. Other cases are the @-sign and the space. I can't say if this a severe problem for everybody, at least for me the program is not usable in the present form, and I have stopped my testing of this version meanwhile. Unfortunately this is still the case with the 1.8 'release version' of today, which I just downloaded and tried. Best regards, Jochen Roderburg ZAIK/RRZK University of Cologne Robert-Koch-Str. 10 Tel.: +49-221/478-7024 D-50931 Koeln E-Mail: [EMAIL PROTECTED] Germany
