title: Unzipping with ExtractToDirectory method distorts non-latin symbols
body: <p>I have several folders with files, some folders contain non-latin symbols in their names (russian in my case). This folders are sending to zip archive (by windows explorer) in "D:\test.zip".
  Then I execute <a href="https://msdn.microsoft.com/ru-ru/library/Hh485723%28v=VS.110%29.aspx" rel="noreferrer">method</a></p>
  
  <pre><code>    ZipFile.ExtractToDirectory(@"D:\test.zip", @"D:\result");
  </code></pre>
  
  <p>and it successfully unzip all content, but all non-latin symbols turn into something wrong.  </p>
  
  <p>For example, instead of <strong>"D:\result\каскады\file.txt"</strong> I got <strong>"D:\result\Є бЄ ¤л\file.txt"</strong>.  </p>
  
  <p>Default encoding of my system is <em>windows-1251</em> which I verified by involving <code>Encoding.GetEncoding("windows-1251")</code> into third parameter of <a href="https://msdn.microsoft.com/ru-ru/library/hh875102%28v=vs.110%29.aspx" rel="noreferrer"><code>ExtractToDirectory</code></a> and getting the same result. I also tried <em>UTF-8</em>, but got another artifacts inside path (<strong>"D:\result\��᪠��\file.txt"</strong>). Trying <em>Unicode</em> return me message about not supported encoding.</p>
  
  <p>When I create same archive through the code by executing <a href="https://msdn.microsoft.com/ru-ru/library/hh485707%28v=vs.110%29.aspx" rel="noreferrer">method</a></p>
  
  <pre><code>    ZipFile.CreateFromDirectory(@"D:\zipdata", @"D:\test.zip");
  </code></pre>
  
  <p>everything then unzipping fine with the same line of code as in the top of the question, even without specifying particular encodings.  </p>
  
  <p>The question is: how to get correct encoding from archive for applying it in <code>ExtractToDirectory</code> method, in respect that in real task archive comes from external source and I can not rely on wherether it created 'by hands' or programmatically?  </p>
  
  <p><strong>Edit</strong><br>
  There is <a href="https://stackoverflow.com/questions/23407717/zipfile-extracttodirectory-illegal-characters-in-path">question</a> where also non-latin symbols (chinese) cause problems, but this fact was given like resolution of question, whereas this is exactly problem for my situation.</p>