In a ASP.NET Core application the encoding for windows was not found, the line below failed:
public static readonly Encoding AnsiEncoding = Encoding.GetEncoding("Windows-1252");
I downloaded the master branch, in which this was fixed according to issue history. However, I did not get it working correctly. But if I did this it worked just fine:
Add nuget packet System.Text.Encoding.CodePages
Change the line above to:
public static readonly Encoding AnsiEncoding = CodePagesEncodingProvider.Instance.GetEncoding(1252);
If not issue or if I did misbehave close issue as you see fit :)
In a ASP.NET Core application the encoding for windows was not found, the line below failed:
public static readonly Encoding AnsiEncoding = Encoding.GetEncoding("Windows-1252");
I downloaded the master branch, in which this was fixed according to issue history. However, I did not get it working correctly. But if I did this it worked just fine:
public static readonly Encoding AnsiEncoding = CodePagesEncodingProvider.Instance.GetEncoding(1252);
If not issue or if I did misbehave close issue as you see fit :)