I am using DotNetZip. When i am archiving file which have english name all normally. but when i archiving file with russian names in result archive with bad names of file. Some peoplese said that string
ZipConstants.DefaultCodePage = 866;
But it not compile. I also use zip.UseUnicodeAsNecessary properties, and convert my file names to utf8 and utf7.
zip.AlternateEncodingUsage = ZipOption.Always;
zip.AlternateEncoding = Encoding.UTF8;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With