Browse Source

Fixed logger to not output BOM

refactor
Anairkoen Schno 6 years ago
parent
commit
9ba50dbcb3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      IllusionInjector/Logging/Printers/GZFilePrinter.cs

+ 1
- 1
IllusionInjector/Logging/Printers/GZFilePrinter.cs View File

@ -73,7 +73,7 @@ namespace IllusionInjector.Logging.Printers
{ {
FlushMode = FlushType.Full FlushMode = FlushType.Full
}; };
fileWriter = new StreamWriter(zstream, Encoding.UTF8);
fileWriter = new StreamWriter(zstream, new UTF8Encoding(false));
} }
public override sealed void EndPrint() public override sealed void EndPrint()


Loading…
Cancel
Save