IHtmlEncoder public interface IHtmlEncoder Represents the HTML encoder. Documentation Code string Encode(string value, Encoding encoding) Replaces characters in names and values that cannot be expressed by using the given encoding with &#...; base-10 unicode point.