Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IHtmlEncodingProvider

OfficeIMO.Html.Dom

Namespace
OfficeIMO.Html.Dom
Assembly
OfficeIMO.Html.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
abstract

Resolves web encoding labels without exposing a charset-library type. Providers must be safe to share.

Methods

public abstract Encoding? ResolveLabel(string label) #

Returns an encoding for a recognized HTML label, or null when unsupported.

Parameters

label string required

Returns

Encoding?
public abstract Encoding? ResolveMetaContent(string content) #

Resolves a charset declaration in an HTML meta content value, or null when absent or unsupported.

Parameters

content string required

Returns

Encoding?