![]() ![]() Zf.ExtractAll(Application.StartupPath "\\Arkiv\\") So your best option is to Stick with DotNetZip and use some codes like this : using (ZipFile zf = new ZipFile(Application.StartupPath "\\Arkiv.zip", new UTF8Encoding())) ![]() Moreover, IMO only WinRAR is using UTF-8 for all Archives whereas other Zip tools like 7-Zip, Explorer Default Zip Viewer use Zip Default encoding which enables them to read the filenames incorrectly! I got the best result with the UTF-8 Encoding.Same reading as WinRAR. ![]() I tried some of them including UTF-8, Zip Default(IBM437), UTF-32, Unicode etc. With DotNetZip-WinFormsTool.exe provided in the DotNetZip binaries you can see every possible encoding in the DropDownBox. I was digging into the Example zip and DotNetZip. It uses 7-Zip dll to extract archives and IMO, 7-zip is the best archive handler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |