Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AngleSharpEncodingProvider

Namespace OfficeIMO.Html.Providers
Assembly OfficeIMO.Html.AngleSharp
Implements
IHtmlEncodingProvider
Modifiers sealed

Web charset aliases backed by AngleSharp and the .NET code-page provider.

Inheritance

  • Object
  • AngleSharpEncodingProvider

Remarks

Initialization registers the .NET code-page provider process-wide, as the existing decoder did. Returned encodings are cloned by OfficeIMO before changing fallbacks.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public AngleSharpEncodingProvider() #

Methods

public virtual Encoding ResolveLabel(String label) #
Returns: Encoding

Parameters

label System.String requiredposition: 0
public virtual Encoding ResolveMetaContent(String content) #
Returns: Encoding

Parameters

content System.String requiredposition: 0

Properties

public static AngleSharpEncodingProvider Instance { get; } #

Shared charset provider.