Martin v. Löwis <mar...@v.loewis.de> added the comment:

No, there is no indication in the zipfile that it deviates from the spec. That 
doesn't stop people from creating such zipfiles, anyway; many zip tools ignore 
the spec and use instead CP_ACP (which, of course, will then get misinterpreted 
if extracted on a different system).

I think we must support this case somehow, but must be careful to avoid 
creating such files unless explicitly requested. One approach might be to have 
two encodings given: one to interpret the existing filenames, and one to be 
used for new filenames (with a recommendation to never use that parameter since 
zip now supports UTF-8 in a well-defined manner).

----------
nosy: +loewis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to