Table of Contents

Interface IHtmlEncoder

Namespace
AngleSharp.Html.Forms.Submitters
Assembly
AngleSharp.dll

Represents the HTML encoder.

public interface IHtmlEncoder
Extension Methods

Methods

Encode(string, Encoding)

Replaces characters in names and values that cannot be expressed by using the given encoding with &#...; base-10 unicode point.

string Encode(string value, Encoding encoding)

Parameters

value string

The value to sanatize.

encoding Encoding

The encoding to consider.

Returns

string

The sanatized value.