Click or drag to resize

HtmlDocumentDetectEncoding Method (TextReader)

Detects the encoding of an HTML text provided on a TextReader.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public Encoding DetectEncoding(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
The TextReader used to feed the HTML. May not be null.

Return Value

Type: Encoding
The detected encoding.
See Also