Click or drag to resize
MimeKit

ParserOptionsCharsetEncoding Property

Get or set the charset encoding to use as a fallback for 8bit headers.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public Encoding CharsetEncoding { get; set; }

Property Value

Encoding
The charset encoding.
Remarks
DecodeText(ParserOptions, Byte) and DecodePhrase(ParserOptions, Byte) use this charset encoding as a fallback when decoding 8bit text into unicode. The first charset encoding attempted is UTF-8, followed by this charset encoding, before finally falling back to iso-8859-1.
See Also