Skip to content

Commit

Permalink
Enforce UTF-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuinny committed Jul 21, 2024
1 parent 875dcca commit c14341f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Oligopoly.Game/Code/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private static void Main()
/// <summary>Sets up the environment for the game, including Saves folder creation and console settings (Windows only).</summary>
private static void SetupConsoleEnvironment()
{
Console.OutputEncoding = Encoding.UTF8;
if (!Directory.Exists("Saves")) Directory.CreateDirectory("Saves");
if (OperatingSystem.IsWindows())
{
Expand Down

0 comments on commit c14341f

Please sign in to comment.