Skip to content

Commit

Permalink
Ensure output is UTF-8
Browse files Browse the repository at this point in the history
This should fix the missing emoji and icons in legacy command prompt.
  • Loading branch information
kzu committed Sep 27, 2024
1 parent 364779b commit 68f789a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Cli/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Diagnostics;
using System.Text;
using Devlooped.Sponsors;
using DotNetConfig;
using Microsoft.Extensions.DependencyInjection;
Expand All @@ -8,6 +9,8 @@
using Spectre.Console;
using Spectre.Console.Cli;

Console.InputEncoding = Console.OutputEncoding = Encoding.UTF8;

#if DEBUG
if (args.Contains("--debug"))
{
Expand Down

0 comments on commit 68f789a

Please sign in to comment.