[issue8396] tarfile.open does fails with UnicodeDecodeError if parent dir is unicode

STINNER Victor report at bugs.python.org
Wed Apr 14 11:54:32 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

It looks like tarfile doesn't support unicode filenames. You should try to encode your input filename to the file system default encoding (sys.getfilesystemencoding()), or avoid using unicode for tar filenames.

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8396>
_______________________________________


More information about the Python-bugs-list mailing list