Fixed: 'iso-8859-2' is not a supported encoding name

pull/1877/head
Qstick 4 years ago
parent 87f8a7f7b1
commit 281190822f

@ -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<InitializeLogger>().Initialize();

@ -15,6 +15,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog.Extensions.Logging" Version="1.6.1" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Lidarr.Api.V1\Lidarr.Api.V1.csproj" />

Loading…
Cancel
Save