diff --git a/Neo.ConsoleService/ConsoleServiceBase.cs b/Neo.ConsoleService/ConsoleServiceBase.cs index d70d7228a..711daba11 100644 --- a/Neo.ConsoleService/ConsoleServiceBase.cs +++ b/Neo.ConsoleService/ConsoleServiceBase.cs @@ -590,7 +590,7 @@ public virtual void RunConsole() catch { } Console.ForegroundColor = ConsoleColor.DarkGreen; - Console.SetIn(new StreamReader(Console.OpenStandardInput(), Encoding.Default, false, ushort.MaxValue)); + Console.SetIn(new StreamReader(Console.OpenStandardInput(), Console.InputEncoding, false, ushort.MaxValue)); while (_running) {