Unzipping zips with Unicode Filenames
Question:
I see your example code includes the ability to create a zip with Unicode filenames.
Does your product support unzipping files with unicode filenames, such as Chinese?
Answer:
Yes, it can unzip files w/ Unicode names — assuming the .zip was correctly created. Your first test should be to unzip without trying anything differently. Check to see if the files are created w/ the correct filenames. If not, try setting the zip.OemCodePage property = 65001 (for utf-8), then re-try. If that doesn’t work, it may be that the .zip was created such that the filenames are embedded using a specific charset. You would need to set the OemCodePage property to match that charset. See this: http://www.chilkatsoft.com/p/p_453.asp
admin
0
Tags :