From 281190822f80e8c3fcaaa45cefece00aacc8dc58 Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 25 Dec 2020 22:08:59 -0500 Subject: [PATCH] Fixed: 'iso-8859-2' is not a supported encoding name --- src/NzbDrone.Host/Bootstrap.cs | 2 ++ src/NzbDrone.Host/Lidarr.Host.csproj | 1 + 2 files changed, 3 insertions(+) diff --git a/src/NzbDrone.Host/Bootstrap.cs b/src/NzbDrone.Host/Bootstrap.cs index d56d52972..c4407313e 100644 --- a/src/NzbDrone.Host/Bootstrap.cs +++ b/src/NzbDrone.Host/Bootstrap.cs @@ -1,5 +1,6 @@ using System; using System.Reflection; +using System.Text; using System.Threading; using NLog; using NzbDrone.Common.Composition; @@ -30,6 +31,7 @@ namespace NzbDrone.Host } LongPathSupport.Enable(); + Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); _container = MainAppContainerBuilder.BuildContainer(startupContext); _container.Resolve().Initialize(); diff --git a/src/NzbDrone.Host/Lidarr.Host.csproj b/src/NzbDrone.Host/Lidarr.Host.csproj index a28a87399..17eb78247 100644 --- a/src/NzbDrone.Host/Lidarr.Host.csproj +++ b/src/NzbDrone.Host/Lidarr.Host.csproj @@ -15,6 +15,7 @@ +