DotNetZip trouble with russian encoding
Posted
by Xaver
on Stack Overflow
See other posts from Stack Overflow
or by Xaver
Published on 2010-04-19T06:52:13Z
Indexed on
2010/04/19
10:23 UTC
Read the original article
Hit count: 333
i use DotNetZip in my project.
using (var zip = new ZipFile())
{
zip.ProvisionalAlternateEncoding = System.Text.Encoding.GetEncoding(866);
zip.AddFile(filename, "directory\\in\\archive");
zip.Save("archive.zip");
}
all ok but when i use method AddDirectoryByName i have a bad directory names.
© Stack Overflow or respective owner