class EncodingProvider
Provides the base class for an encoding provider, which supplies encodings that are unavailable on a particular platform.
public Encoding GetEncoding( int codepage )
Returns the encoding associated with the specified code page identifier.
codepageThe code page identifier of the requested encoding.- Returns The encoding that is associated with the specified code page, or if this cannot return a valid encoding that corresponds to .
public Encoding GetEncoding( int codepage, EncoderFallback encoderFallback, DecoderFallback 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.
codepageThe code page identifier of the requested encoding.encoderFallbackAn object that provides an error-handling procedure when a character cannot be encoded with this encoding.decoderFallbackAn object that provides an error-handling procedure when a byte sequence cannot be decoded with this encoding.- Returns The encoding that is associated with the specified code page, or if this cannot return a valid encoding that corresponds to .
public Encoding GetEncoding( string name )
Returns the encoding with the specified name.
nameThe name of the requested encoding.- Returns The encoding that is associated with the specified name, or if this cannot return a valid encoding that corresponds to .
public Encoding GetEncoding( string name, EncoderFallback encoderFallback, DecoderFallback 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.
nameThe name of the preferred encoding.encoderFallbackAn object that provides an error-handling procedure when a character cannot be encoded with this encoding.decoderFallbackAn object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding.- Returns The encoding that is associated with the specified name, or if this cannot return a valid encoding that corresponds to .
public IEnumerable<EncodingInfo> GetEncodings( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public EncodingProvider( )
😔 No documentation found.