From 25a75fdf248377146003f286885212e2eed1f923 Mon Sep 17 00:00:00 2001 From: Gnai <67922105+gnai-creator@users.noreply.github.com> Date: Sat, 16 Dec 2023 05:33:56 -0300 Subject: [PATCH] fix: Update Main.cs to accept utf8 on console (#1639) --- Projects/Server/Main.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Projects/Server/Main.cs b/Projects/Server/Main.cs index 6955d647a..cb89300aa 100644 --- a/Projects/Server/Main.cs +++ b/Projects/Server/Main.cs @@ -419,6 +419,8 @@ public static class Core public static void Main(string[] args) { + Console.OutputEncoding = Encoding.UTF8; + AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; AppDomain.CurrentDomain.ProcessExit += CurrentDomain_ProcessExit; AppDomain.CurrentDomain.AssemblyResolve += AssemblyHandler.AssemblyResolver;