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.1.0.0 (9.1.0.20241025)
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