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

Commit 8800d4e

Browse files
authored
Set encoding to unicode. (#284)
1 parent 04f4944 commit 8800d4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.IO;
1010
using System.Net.Http;
1111
using System.Reflection;
12+
using System.Text;
1213
using System.Threading.Tasks;
1314
using ApiSdk;
1415
using ApiSdk.Models.ODataErrors;
@@ -41,6 +42,8 @@ class Program
4142
{
4243
static async Task<int> Main(string[] args)
4344
{
45+
Console.InputEncoding = Encoding.Unicode;
46+
Console.OutputEncoding = Encoding.Unicode;
4447
var builder = BuildCommandLine()
4548
.UseDefaults()
4649
.UseHost(a =>

0 commit comments

Comments
 (0)