You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
I've recently found an issue that the program does not compile the localization files in UTF8-BOM, but rather UTF8, which the game is unable to use for localization. Recently, I developed a Country Generator, which requires BOM in order to get the localization to work, so if you're interested in the way I did this, I have a sample of code below that properly enables Byte Order Mark and should be compatible with your program.
Here is a solution I found for writing files with Byte Order Mark enabled:
Stream s = File.Open(""+OFD_Loc.FileName,FileMode.Open);
using (var sw = new StreamWriter(s, new UTF8Encoding(true)))
{
sw.WriteLine(lines);
}