Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Text
Encoding Class
Encoding Methods
GetEncoding Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
Encoding.GetEncoding Method

Returns an encoding for the specified code page.

Name Description
Encoding.GetEncoding (Int32) Returns the encoding associated with the specified code page identifier.

Supported by the .NET Compact Framework.

Encoding.GetEncoding (String) Returns an encoding associated with the specified code page name.

Supported by the .NET Compact Framework.

Encoding.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.
Encoding.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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker