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: 9.0.3.0 (9.0.3.20240719)
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