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: 8.0.6.0 (8.0.6.20210916)
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