Add codepages for .NET Core.

This commit is contained in:
2019-07-19 14:25:33 +01:00
parent 6d91450b28
commit 1b5ef5a8cd
4 changed files with 29 additions and 21 deletions

View File

@@ -33,6 +33,7 @@
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using DiscImageChef.Commands;
using DiscImageChef.CommonTypes.Interop;
@@ -95,6 +96,8 @@ namespace DiscImageChef
PlatformID currentPlatform = DetectOS.GetRealPlatformID();
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
CommandSet commands = new CommandSet("DiscImageChef")
{
$"{AssemblyTitle} {AssemblyVersion?.InformationalVersion}",