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