HtmlToHtml.DetectEncodingFromByteOrderMark property

The DetectEncodingFromByteOrderMark property gets or sets a Boolean value that indicates whether the encoding is detected from the byte order mark or determined by the InputEncoding property.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

public bool DetectEncodingFromByteOrderMark { get; set; }

Property value

Type: System.Boolean

The DetectEncodingFromByteOrderMark property returns true if the byte order mark in the input is to be used to determine the encoding. This property returns false to indicate that the input encoding is to be determined by the InputEncoding property. If the DetectEncodingFromByteOrderMark property is set to true, but the byte order mark is not present, then the InputEncoding property will be used to determine the encoding.

Show: