I would be extremely grateful if anybody could help me with this. I have a zip file (named zh-CN.zip) that has folders inside it that have chinese names. I use the following code to try and extract the files and folders.
using (ZipFile zip = new ZipFile(chineseZipPath))
zip.AlternateEncoding = Encoding.GetEncoding(950);
zip.AlternateEncodingUsage = ZipOption.Always;
What happens next is that the files and folders are extracted from the zip file but they do not have the correct names. Instead they have what appear to be character identifiers. e.g. One of the folder names is: #U6d4b#U91cf#U89d2#U5ea6
I have tried all of the standard encoding options. UTF-8, Unicode, UTF-32 ... None of these make any difference.
Does anybody know what could be amiss here? Many thanks in advance.