1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

This commit is contained in:
Qstick 2020-12-25 22:08:59 -05:00
parent 82dfaf0ea5
commit 80a744eff5
2 changed files with 4 additions and 0 deletions

View File

@ -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 @@ public static void Start(StartupContext startupContext, IUserAlert userAlert, Ac
throw new TerminateApplicationException("Missing system requirements");
}
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
_container = MainAppContainerBuilder.BuildContainer(startupContext);
_container.Resolve<InitializeLogger>().Initialize();
_container.Resolve<IAppFolderFactory>().Register();

View File

@ -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" />