Hi,

i had problems with extracting archives on mac os x which were packed with a different charset on a linux box. These errors resulted in errors like this:

tar: home/sigrid/Office51/database/Adre\337buch.url: Cannot open: (null)

Because this File had the german character 'sz' in its name which is only defined in the Latin 1 charset. This resulted in the behaviour that open always returned with less than zero.

I implemented a quick and dirty workaround for cases like this which i'll attach as a patch. It simply clamps all characters to the printable ascii set and replaces nonprintable characters with a underscore. This could of course result in the overwriting of other files but as i read from the source that should be avoidable with the '-k' option or?

cheers Heiko

Attachment: patch-tar-1.15.1.diff
Description: Binary data

_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to