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:
parent
da36198b4c
commit
ae4074f083
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue