Windows apps
Collapse the table of content
Expand the table of content

CodePagesEncodingProvider::GetEncoding Method

.NET Framework (current version)

Returns an encoding based on its code page identifier or name.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetEncoding(Int32) Returns the encoding associated with the specified code page identifier. (Overrides EncodingProvider::GetEncoding(Int32).)
Public method GetEncoding(String) Returns the encoding with the specified name. (Overrides EncodingProvider::GetEncoding(String).)
Public method GetEncoding(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. (Inherited from EncodingProvider.)
Public method GetEncoding(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. (Inherited from EncodingProvider.)
Top
Show:
© 2017 Microsoft