Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
Previous Versions
Please Wait
.NET Framework 2.0
Please Wait
Class Library Reference
Please Wait
System.Text
Please Wait
Encoding Class
Please Wait
Encoding Methods
Please Wait
GetEncoding Method
Please Wait
Switch on low bandwidth view
Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
Encoding.GetEncoding Method
Returns an encoding for the specified code page.
Overload List
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.
See Also
Reference
Encoding Class
Encoding Members
System.Text Namespace
CodePage
EncoderFallback
EncoderFallback Class
GetEncodings
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement