bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] mac os x or general charset problem patch


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] mac os x or general charset problem patch
Date: Sun, 11 Dec 2005 10:30:27 EET

Heiko Voigt <address@hidden> wrote:

> Thats basically what I am suggesting. If an attempt to write the
> correct characterset fail, tar should switch to the printable ASCII
> chars only and have some substitution mechanism for the unknown
> characters.

I disagree. Bypassing a file if it cannot be created in extract mode, is
a normal behavior. In my opinion, transliterating file names can be done
only if explicitely requested by the user. The POSIX specification of
pax command provides a special option, -o invalid=action, which
specifies the action to be taken upon encountering an invalid file name. 

The method of transliteration should be selective enough to ensure that
different characters are represented by different transliterations. Simply
replacing any "nonprintable" character by an underscore is clearly not
acceptable. 

Regards,
Sergey








reply via email to

[Prev in Thread] Current Thread [Next in Thread]