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 @@ +