DetectEncodingFromMetaTag Property
This documentation is archived and is not being maintained.

HtmlToHtml.DetectEncodingFromMetaTag Property

The DetectEncodingFromMetaTag property gets or sets a Boolean value that indicates whether the encoding is detected from the meta tag or determined by the InputEncoding property.

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

public bool DetectEncodingFromMetaTag { get; set; }

Property Value

Type: System.Boolean

The DetectEncodingFromMetaTag property returns true if the meta tag 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 DetectEncodingFromMetaTag property is set to true, but the meta tag contains no encoding information, then the InputEncoding property will be used to determine the encoding.

Show:
© 2016 Microsoft