# IHtmlEncodingProvider

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

Interface 

`OfficeIMO.Html.Dom`

**Namespace**

`OfficeIMO.Html.Dom`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IHtmlEncodingProvider.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Core/IHtmlEncodingProvider.cs#L6)

**Modifiers**

abstract

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

Filter members 

Show inherited

## Methods

`public abstract Encoding? ResolveLabel(string label)` [#](#method-resolvelabel-string)

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

Parameters

**label string required**

Returns

`Encoding?`

`public abstract Encoding? ResolveMetaContent(string content)` [#](#method-resolvemetacontent-string)

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

Parameters

**content string required**

Returns

`Encoding?`

<!-- PowerForge markdown artifact sha256:C951A2C0D79D9776ACDE4ADC18C76AF68DDABAE9ECCE57DE8E1A48F167AB1148 -->
