mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2025-07-25 04:43:58 +00:00
Specify UTF-8 without BOM to fix Discord's text rendering
This commit is contained in:
@ -126,7 +126,7 @@ namespace Wabbajack.Common
|
||||
if (!LoggingSettings.LogToFile || LogFile == default) return;
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user