can't extract file with cyrillic name

Aug 27, 2010 at 7:37 AM

l set encoding as Encoding.GetEncoding("windows-1251"), but entry attrib "ActualEncoding" is null and  filename after extract as "æáííáΓ« - éδóÑα¿Γ∞ »α¿µÑ½.fb2". I tried various encodings, but rezult is similiar. What's wrong?

Sample (Arhiv has one file with name is "\Саббато - Выверить прицел.fb2")

using (ionic.Zip.ZipFile l_oZ = new Ionic.Zip.ZipFile(@"c:\temp\fb2\Саббато - Выверить прицел", Encoding.GetEncoding("windows-1251") ))
 { l_oZ.UseUnicodeAsNecessary = true; l_oZ.ExtractAll(@"c:\temp\fb2"); }