diff options
author | agrajaghh <agrajaghh@gmail.com> | 2016-09-30 11:04:56 +0300 |
---|---|---|
committer | agrajaghh <agrajaghh@gmail.com> | 2016-09-30 11:04:56 +0300 |
commit | bf3d3ec1005c0a6264f669785cbeca53b8822088 (patch) | |
tree | 5e71a0274031dd431a26e61deeee7cc0ca21f85b /BuildTools | |
parent | 2e88e82cae4b2e7e58fa5944565e0d82b6b9f8c7 (diff) |
use UTF8 without BOM for .po file
Diffstat (limited to 'BuildTools')
-rw-r--r-- | BuildTools/LocalizationTool2/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/LocalizationTool2/Program.cs b/BuildTools/LocalizationTool2/Program.cs index 9fd7d69bd..fbb3fd156 100644 --- a/BuildTools/LocalizationTool2/Program.cs +++ b/BuildTools/LocalizationTool2/Program.cs @@ -71,7 +71,7 @@ namespace LocalizationTool2 string.Format("msgstr \"{0}\"", (x.SourceString ?? "")),
""
}),
- System.Text.Encoding.UTF8
+ new System.Text.UTF8Encoding(false)
);
Console.WriteLine("Wrote {0} strings to {1}", map.Count, Path.Combine(targetfolder, "localization.po"));
@@ -84,7 +84,7 @@ namespace LocalizationTool2 string.Format("msgstr \"{0}\"", (x.SourceString ?? "")),
""
}),
- System.Text.Encoding.UTF8
+ new System.Text.UTF8Encoding(false)
);*/
return 0;
|