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

pull/5644/head
Qstick 4 years ago
parent 82dfaf0ea5
commit 80a744eff5

@ -1,5 +1,6 @@
using System;
using System.Reflection;
using System.Text;
using System.Threading;
using NLog;
using NzbDrone.Common.Composition;
@ -28,6 +29,8 @@ namespace Radarr.Host
throw new TerminateApplicationException("Missing system requirements");
}
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
_container = MainAppContainerBuilder.BuildContainer(startupContext);
_container.Resolve<InitializeLogger>().Initialize();
_container.Resolve<IAppFolderFactory>().Register();

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

Loading…
Cancel
Save