Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iso-2022-cn is not a supported encoding name #4

Open
TonyValenti opened this issue Jun 2, 2021 · 1 comment
Open

iso-2022-cn is not a supported encoding name #4

TonyValenti opened this issue Jun 2, 2021 · 1 comment

Comments

@TonyValenti
Copy link

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?

@jespersh
Copy link

See AngleSharp/AngleSharp@24708a2 for an idea for an adjustment.
The exception you're seeing is a caught one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants