title: German letters and encoding in C#
body: <p>I have an unzipping function, and I am using <code>System.Text.Encoding</code> to make sure that the files that are being extracted keep the same names after extraction because usually the files that I am unzipping contains German letters.<br>
  I tried different things like <code>Encoding.Default</code> or <code>Encoding.UTF8</code> but nothing works
  <code>äÄéöÖüß.txt</code> gets converted to <code>„Ž‚”™á.txt</code> or in case of default it is black boxes :/</p>
  
  <p>any suggestions? </p>
  
  <pre><code>using (ZipArchive archive = System.IO.Compression.ZipFile.Open(ZipFile, ZipArchiveMode.Read, System.Text.Encoding.Default))
  {
  
      foreach (ZipArchiveEntry entry in archive.Entries)
      {
          string fullPath = Path.Combine(appPath, entry.FullName);
          if (String.IsNullOrEmpty(entry.Name))
          {
              Directory.CreateDirectory(fullPath);
          }
          else
          {
              if (!entry.Name.Equals("Updater.exe"))
              {
                  entry.ExtractToFile(fullPath,true);
  
              }
          }
      }
  }
  </code></pre>