mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Specify UTF-8 without BOM to fix Discord's text rendering
This commit is contained in:
parent
b0eb876460
commit
563de77205
@ -126,7 +126,7 @@ namespace Wabbajack.Common
|
|||||||
if (!LoggingSettings.LogToFile || LogFile == default) return;
|
if (!LoggingSettings.LogToFile || LogFile == default) return;
|
||||||
lock (_logLock)
|
lock (_logLock)
|
||||||
{
|
{
|
||||||
File.AppendAllText(LogFile.ToString(), $"{(DateTime.Now - _startTime).TotalSeconds:0.##} - {msg}\r\n");
|
File.AppendAllText(LogFile.ToString(), $"{(DateTime.Now - _startTime).TotalSeconds:0.##} - {msg}\r\n", new UTF8Encoding(false, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user