You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See also APPENDIX D - Language Encoding (EFS)
Reading this you should remember that "IBM Code Page 437" actually means "selected OEM code page" in practice. So to decode legacy file names in archive correctly we should read them using OEM code page corresponding to currently selected locale (assuming archive was created on a PC with the same locale selected).
The text was updated successfully, but these errors were encountered:
sample archive that lists incorrectly:
23-10-2012-b-fasi-eaep.zip
far shows it's content like
Б' ФАСЖ ПД06 СХОКДИА ДАДП (ИМТ).xls
instead of
Β' ΦΑΣΗ ΠΕ06 ΣΧΟΛΕΙΑ ΕΑΕΠ (ΙΝΤ).xls
as it should.
this may be fixed by parsing extended header of zip archive and using "utf8 filename" field if present (falling back to our current logic if no).
https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
See 4.6.9 -Info-ZIP Unicode Path Extra Field (0x7075)
See also APPENDIX D - Language Encoding (EFS)
Reading this you should remember that "IBM Code Page 437" actually means "selected OEM code page" in practice. So to decode legacy file names in archive correctly we should read them using OEM code page corresponding to currently selected locale (assuming archive was created on a PC with the same locale selected).
The text was updated successfully, but these errors were encountered: