[issue27344] zipfile *does* support utf-8 filenames
Serhiy Storchaka
report at bugs.python.org
Fri Jun 24 13:29:11 EDT 2016
Serhiy Storchaka added the comment:
This note looks outdated.
In 2.x 8-bit file names are written as is, implying cp437 or what your consumers expect. Unicode file names are encoded to ascii or utf-8 (with setting utf-8 flag). In 3.x only Unicode file names are accepted, and they always are encoded to ascii or utf-8. There is no way to write non-ascii non-utf-8 file names. cp437 is not used at all.
Maybe just remove this misleading note?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27344>
_______________________________________
More information about the Python-bugs-list
mailing list