Encoding.RegisterProvider(CodePagesEncodingProvider.Instance) does not add extra encoding providers
问题 I am developing a netcoreapp2.0 console application and I need access to the whole encoding package from .NET. I have already added the System.Text.Encoding.CodePages Version=4.4.0 Nuget package from this page to my project and cleaned/restored the project several time. However I can't get the extra encoding I need. The following code: Console.WriteLine(Encoding.GetEncodings().Length); Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); Console.WriteLine(Encoding.GetEncodings()