Table of Contents

Class LocaleEncodingProvider

Namespace
AngleSharp.Browser
Assembly
AngleSharp.dll

Represents the default loader service. This class can be inherited.

public class LocaleEncodingProvider : IEncodingProvider
Inheritance
LocaleEncodingProvider
Implements
Inherited Members
Extension Methods

Constructors

LocaleEncodingProvider()

public LocaleEncodingProvider()

Methods

Suggest(string)

Suggests the initial Encoding for the given locale.

public virtual Encoding Suggest(string locale)

Parameters

locale string

The locale defined by the BCP 47 language tag.

Returns

Encoding

The suggested encoding.