[issue7693] tarfile.extractall can't have unicode extraction path

Peter Bienstman report at bugs.python.org
Sun Jan 17 09:31:35 CET 2010


Peter Bienstman <Peter.Bienstman at UGent.be> added the comment:

> Lars Gustäbel <lars at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7693>
_______________________________________


More information about the Python-bugs-list mailing list