How to get Host OS (operating system) parameter of ZIP archive in C#
Posted
by bao
on Stack Overflow
See other posts from Stack Overflow
or by bao
Published on 2010-04-23T14:49:11Z
Indexed on
2010/04/23
14:53 UTC
Read the original article
Hit count: 245
Look. I have ZIP archives prepared in different os'es: mac, linux, windows. In windows file names encoded in DOS CP866, mac & linux in UTF-8. I need to know (in code) in which os zip file was prepared to decode file names correctly. There is a Host OS paramterer in "Central directory structure" of zip file (look http://www.fileformat.info/format/zip/corion.htm ). How to get 0005h 1 byte Host OS parameter in C#?
© Stack Overflow or respective owner