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: 8.3.3.0 (8.3.3.20240926)
Syntax public Encoding DetectEncoding(
TextReader reader
)
Public Function DetectEncoding (
reader As TextReader
) As Encoding
Parameters
- reader
- Type: System.IOTextReader
The TextReader used to feed the HTML. May not be null.
Return Value
Type:
EncodingThe detected encoding.
See Also