Peter Bienstman <peter.bienst...@ugent.be> added the comment: > Lars Gustäbel <l...@gustaebel.de> added the comment: > > So, use the pax format. It stores the filenames as utf-8 and this way you > will be on the safe side. > > I hope we both agree that the solution to your particular problem is > nothing tarfile.py can provide.
If I want to extract a pax archive to a unicode path with non-latin characters, how should I encode the path before passing it to 'extractall'? would utf-8 be OK? Peter ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7693> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com