Share via


DecodingFlags enumeration

The DecodingFlags enumeration indicates the encodings to try when you are trying to decode Multipurpose Internet Mail Extensions (MIME) headers.

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

Syntax

'Declaration
Public Enumeration DecodingFlags
'Usage
Dim instance As DecodingFlags
public enum DecodingFlags

Members

Member name Description
None Do not try to decode any headers because the value is already converted to Unicode.
Rfc2047 Try to decode headers by using the encoding specified in RFC2047.
Rfc2231 Try to decode headers by using the encoding specified in RFC2231.
Jis Try to decode headers by using Japanese Industrial Standard (JIS) decoding.
Utf8 Try to decode headers by using UTF8 decoding.
Dbcs Try to decode headers by using DBCS decoding.
AllEncodings Try all the other encodings represented by the DecodingFlags enumeration.
FallbackToRaw Return the raw headers if encoding fails.
AllowControlCharacters Pass control characters in the header without fixing them.

See also

Reference

Microsoft.Exchange.Data.Mime namespace