Which encoding (code page) is used for file names in ZIP archive under Mac OS x 10.6
Posted
by bao
on Stack Overflow
See other posts from Stack Overflow
or by bao
Published on 2010-04-20T16:20:55Z
Indexed on
2010/04/20
16:23 UTC
Read the original article
Hit count: 263
I have a zip library SharpZipLib which intended to work with ZIP archives using C#. It has parameter ICSharpCode.SharpZipLib.Zip.ZipConstants.DefaultCodePage which specifies encoding of file names in zip archive. I know that in Windows and in OSX different encodings are used to store file names. 1) Which encodings (code pages) are used in both? 2) How to determine programmatically which encoding is used? When I open in Win7 zip file packed under MacOS X, I see files with bad names (originally - cyrillic) and folder called __MACOSX, so I can say zip was prepared on Mac box. Any other way? What about other UNIX like systems?
© Stack Overflow or respective owner