[issue10614] ZipFile: add a filename_encoding argument
umedoblock
report at bugs.python.org
Fri Jul 13 16:44:19 CEST 2012
umedoblock <umedoblock at gmail.com> added the comment:
Hi, Martin.
I tried your test case with attached file.
And I got below result.
p3 ./encodings.py
encoding: sjis, filename: f馬
encoding: cp437, filename: fön
sjis_filename = f馬
cp437_filename = fön
There are two success cases.
So I think that the patch needs to change default_encoding
before or in _decode_filename().
But I have no idea about how to change a default_encoding.
----------
Added file: http://bugs.python.org/file26376/encodings.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10614>
_______________________________________
More information about the Python-bugs-list
mailing list