Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EncodingProvider::GetEncoding Method

.NET Framework (current version)
 

Returns an encoding.

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetEncoding(Int32)

Returns the encoding associated with the specified code page identifier.

System_CAPS_pubmethodGetEncoding(Int32, EncoderFallback^, DecoderFallback^)

Returns the encoding associated with the specified code page identifier. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.

System_CAPS_pubmethodGetEncoding(String^)

Returns the encoding with the specified name.

System_CAPS_pubmethodGetEncoding(String^, EncoderFallback^, DecoderFallback^)

Returns the encoding associated with the specified name. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.

Return to top
Show:
© 2017 Microsoft