id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 10679 Set general purpose bit 11 for utf-8 encoded filename in a zip file Jun Omae Jun Omae "Now, Trac generates a zip file while downloading as zip in changeset and all attachments files as zip (0.13+). The filename of the zip file is encoded with utf-8. but ""Language encoding flag"" in zipinfo.flag_bits is unset. If the bit is set, [http://7-zip.org/ 7-zip] extracts as unicode in Windows. If unset, it extracts broken filename. (confirmed on Windows XP.) However, even if set, zip folder in Windows XP and 7 extracts broken filename. Patches: * [attachment:zip-filename-utf8-0.12.diff] * [attachment:zip-filename-utf8-trunk.diff] See also: * APPENDIX D in http://www.pkware.com/documents/casestudies/APPNOTE.TXT * latest zipfile.py at http://hg.python.org/cpython/file/6b9c1adce91e/Lib/zipfile.py#l363" enhancement closed normal 0.12.4 general 0.12-stable normal fixed