1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-08 07:17:01 +09:00

Use UTF8 for console output

This commit is contained in:
Dan Balasescu 2022-01-10 19:58:18 +09:00
parent da36198b4c
commit ae4074f083

View file

@ -1,6 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Text;
using McMaster.Extensions.CommandLineUtils;
using osu.Framework.Logging;
using osu.Game.Beatmaps.Formats;
@ -26,9 +28,11 @@ namespace PerformanceCalculator
public static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
Logger.Enabled = false;
LegacyDifficultyCalculatorBeatmapDecoder.Register();
Logger.Enabled = false;
CommandLineApplication.Execute<Program>(args);
}