System::Text::CodePagesEncodingProvider class

CodePagesEncodingProvider class

Represents an encoding provider that supplies encodings for specific code pages.

class CodePagesEncodingProvider : public System::Text::EncodingProvider

Methods

MethodDescription
static get_Instance()Gets the singleton instance of the CodePagesEncodingProvider.
GetEncoding(const String&) overrideGets the encoding associated with the specified name.
GetEncoding(int) overrideGets the encoding associated with the specified code page identifier.

Remarks

This class is typically used to register and retrieve encodings for Windows code pages (e.g., Windows-1252, ISO-8859-1) that are not supported by default in the standard Encoding class and otherwise are available only in the desktop .NET Framework.

See Also