BracketPipe
BracketPipe copied to clipboard
iso-2022-cn is not a supported encoding name
I call this method:
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
Then when I try to convert certain text, I get this error:
System.ArgumentException: ''iso-2022-cn' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter 'name')'
Why is that?
See https://github.com/AngleSharp/AngleSharp/commit/24708a2038baf481cc96b635e95c21cbaa14c68d for an idea for an adjustment. The exception you're seeing is a caught one