C# Class CsQuery.HtmlParser.HtmlEncoding

Simplify access to character set encodings for this system.
Show file Open project: prepare/HTML-Renderer

Private Properties

Property Type Description

Public Methods

Method Description
GetEncoding ( string encodingName ) : Encoding

Gets an encoding.

TryGetEncoding ( string encodingName, Encoding &encoding ) : bool

Try to get a character set encoding from its web name.

Method Details

GetEncoding() public static method

Gets an encoding.
public static GetEncoding ( string encodingName ) : Encoding
encodingName string /// Name of the encoding. ///
return System.Text.Encoding

TryGetEncoding() public static method

Try to get a character set encoding from its web name.
public static TryGetEncoding ( string encodingName, Encoding &encoding ) : bool
encodingName string /// Name of the encoding. ///
encoding System.Text.Encoding /// [out] The encoding. ///
return bool