Dart.Mail Namespace > Textpart Class : Encoding Property |
ContentType.CharSet maps to System.Text.Encoding.WebName. If CharSet is not set, System.Text.Encoding.ASCII is used unless 8-bit Content is found, in which case Part.EncodingMap["default"] is used for encoding. Consider using System.Text.Encoding.UTF8 if full Unicode support is desired.
See EncodingMap for help with decoding using undefined charset values. Unrecognized charset strings map to Part.EncodingMap["default"] and are reported using Part.DecodingExceptions.