-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruno Haible <[EMAIL PROTECTED]> writes:
> Sergey Poznyakoff wrote: >> > The GNU tar maintainer is working a GNU pax program. Maybe he will also >> > provide a command-line option for GNU tar that would perform the same >> > filename charset conversions (suitable for 'tar' archives with UTF-8 >> > filenames)? >> >> It has already been implemented. >> >> Current version of GNU tar (1.15.1) performs this conversion >> automatically when operating on an archive file in pax format. > > Thanks, indeed that works: When I create a .pax file (*) in an UTF-8 locale > and use GNU tar 1.15.1 to unpack it in an ISO-8859-15 locale, the filenames > are correctly converted. > > But it is hard to switch the general distribution of tar files to pax format, > because - while a tar as old as GNU tar 1.11p supports pax files with just > a warning, and AIX, HP-UX and IRIX tar similarly - the Solaris and OSF/1 > /usr/bin/tar refuse to unpack them. Possibly relevant: If you use GNU Automake 1.9 or greater, use the "tar-pax" option to force the creation of PAX archives. Other possibilities are "tar-ustar" and "tar-v7". I've been using pax archives for quite a while now, with no complaints. If you still require portability to older systems, one of the other options is likely a better choice. Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFC/lahVcFcaSW/uEgRAsO5AJ9S4XdDnvzpl4foxe1v9K/AbAZDmgCg00gz FqLvPZwLvXRnzr6+wU+wFVg= =U8ZC -----END PGP SIGNATURE----- -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/