Windows Dev Center

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.

Encoding.GetEncoding Method

Returns an encoding for the specified code page.

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

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetEncoding(Int32) Returns the encoding associated with the specified code page identifier.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetEncoding(String) Returns an encoding associated with the specified code page name.
Public method Static member 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.
Public method Static member GetEncoding(String, EncoderFallback, DecoderFallback) Returns the encoding associated with the specified code page name. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
Top

Community Additions

Show:
© 2015 Microsoft