I have a zip file, When i extracting compressed directory archive from this zip file using Aspose.Zip for Net 20.12,There is a Chinese disorder code problem.
The sample code:
void Main()
{
var file = @“C:\Users\sullivan\Desktop\abc\压缩包.zip”;
var outPath = @“C:\Users\sullivan\Desktop\abc\0109”;
using (FileStream zipFile = File.Open(file, FileMode.Open))
{
using (var archive = new Aspose.Zip.Archive(zipFile))
{
archive.ExtractToDirectory(outPath);
}
}
}
The oragin file:
压缩包.zip (720 Bytes)
The result:
20220109200706.png (27.1 KB)