diff --git a/OpenRA.Game/FileSystem/ZipFile.cs b/OpenRA.Game/FileSystem/ZipFile.cs index 3df4552e3a..8859ba2a53 100644 --- a/OpenRA.Game/FileSystem/ZipFile.cs +++ b/OpenRA.Game/FileSystem/ZipFile.cs @@ -10,6 +10,7 @@ using System.Collections.Generic; using System.IO; +using System.Text; using ICSharpCode.SharpZipLib.Zip; using SZipFile = ICSharpCode.SharpZipLib.Zip.ZipFile; @@ -21,6 +22,11 @@ namespace OpenRA.FileSystem SZipFile pkg; int priority; + static ZipFile() + { + ZipConstants.DefaultCodePage = Encoding.Default.CodePage; + } + public ZipFile(string filename, int priority) { this.filename = filename;