Am 15.10.13 10:53, schrieb Daniel Holth: > FYI zipfile does do UTF-8 > (http://hg.python.org/cpython/file/d7ebe03fa752/Lib/zipfile.py#l368). > Only the non-Unicode encodings might need some help. I like that the > patch is only concerned with decoding. Is it necessary to support > writing non-UTF8 encodings?
For purity, no. For practicality, perhaps. It might be that some tools don't know how to unpack files marked as UTF-8, and always default to the system code page. OTOH, before accepting such a change, I'd like to know what actual existing tool would require such a hack, and a confirmation that this very tool indeed does not support UTF-8. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com