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.3.3.0 (8.3.3.20240926)
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