Skip to content

Commit

Permalink
Merge pull request #837 from slxdy/console-encoding-fix
Browse files Browse the repository at this point in the history
Change console encoding to UTF8
  • Loading branch information
HerpDerpinstine authored Jan 22, 2025
2 parents 085bbf5 + bf1102b commit 2df302f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MelonLoader.Bootstrap/Logging/ConsoleHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void OpenConsole(bool onTop, string? title)
Console.SetError(new StreamWriter(Console.OpenStandardError()) { AutoFlush = true });
Console.SetIn(new StreamReader(Console.OpenStandardInput()));

Console.OutputEncoding = Encoding.Unicode;
Console.OutputEncoding = Encoding.UTF8;

outputHandle = GetStdHandle(StdOutputHandle);
#endif
Expand Down

0 comments on commit 2df302f

Please sign in to comment.