Open hodzanassredin opened 2 years ago
GetEncoding(1251) fails on .net core throws an exception. To prevent it we need to register the provider.
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
GetEncoding(1251) fails on .net core throws an exception. To prevent it we need to register the provider.
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);