Skip to content

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

@TonyValenti

Description

@TonyValenti

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions