diff --git a/Source/Core/General/General.cs b/Source/Core/General/General.cs index e1ddcb5c65f3253f302c40fc61d2a74b1581c9f3..5d49ea30f3f31390bca57d0a54e1c3e518b0b181 100755 --- a/Source/Core/General/General.cs +++ b/Source/Core/General/General.cs @@ -612,7 +612,12 @@ namespace CodeImp.DoomBuilder //mxd. Set CultureInfo Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; - + + // biwa. If the default culture for threads is not set it'll screw with the culture + // in the FileSystemWatcher thread, which can result in incorrect string outputs + // See: https://github.com/jewalky/UltimateDoomBuilder/issues/858 + CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; + // Set current thread name Thread.CurrentThread.Name = "Main Application";