New submission from Yudi <yudil...@gmail.com>:
Some old zip files that don't yet use unicode file names might have entries with characters beyond the ascii range. ZipInfo seems to encode these file names with 'cp437' codepage (correct for old zips) but decode them back with 'ascii' code page which might corrupt them. ---------- components: Library (Lib) files: example.zip messages: 365701 nosy: yudilevi priority: normal severity: normal status: open title: ZipInfo corrupts file names in some old zip archives type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49030/example.zip _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40172> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com