Click or drag to resize

HtmlDocumentDetectEncoding Method (String)

Detects the encoding of an HTML file.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax
public Encoding DetectEncoding(
	string path
)

Parameters

path
Type: SystemString
Path for the file containing the HTML document to detect. May not be null.

Return Value

Type: Encoding
The detected encoding.
See Also