mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
Write log entries in UTF-8, not Unicode
This commit is contained in:
parent
67f0fdd1f4
commit
b8e62cc683
@ -96,7 +96,7 @@
|
||||
try
|
||||
{
|
||||
await _semaphore.WaitAsync();
|
||||
await _filestream!.WriteAsync(Encoding.Unicode.GetBytes($"{message}\r\n"));
|
||||
await _filestream!.WriteAsync(Encoding.UTF8.GetBytes($"{message}\r\n"));
|
||||
await _filestream.FlushAsync();
|
||||
}
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user