[docs] [issue24110] zipfile.ZipFile.write() does not accept bytes arcname
Serhiy Storchaka
report at bugs.python.org
Sat May 2 06:30:28 CEST 2015
Serhiy Storchaka added the comment:
Indeed, the note is outdated and incorrect. First, general unicode filename are allowed. They are encoded with UTF-8 internally. Second, currently there is no way to create an entry without encoding the filename to UTF-8 (if it is not ASCII-only). So you can't create ZIP file with arbitrary encoding (e.g. cp866) for old DOS/Windows unzippers.
Adding support of bytes filenames is different issue (issue10757).
----------
nosy: +serhiy.storchaka
stage: -> needs patch
versions: -Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24110>
_______________________________________
More information about the docs
mailing list