Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 387743b

Browse files
authored
Use utf8 as the output encoding (#342)
1 parent 66047bd commit 387743b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class Program
4444

4545
static async Task<int> Main(string[] args)
4646
{
47-
Console.InputEncoding = Encoding.Unicode;
48-
Console.OutputEncoding = Encoding.Unicode;
47+
Console.InputEncoding = Encoding.UTF8;
48+
Console.OutputEncoding = Encoding.UTF8;
4949
var builder = BuildCommandLine()
5050
.UseDefaults()
5151
.UseHost(CreateHostBuilder)

0 commit comments

Comments
 (0)