MessageParserConfigWriteUtf8ByteOrderMark Property
Gets or sets if MailBee should add UTF-8 BOM when saving HTML files in UTF-8 encoding.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool WriteUtf8ByteOrderMark { get; set; }

Property Value

Type: Boolean
If true, MailBee will prepend UTF-8 output in an HTML file being written to with a 3-byte Byte-Order-Mark (if BOM is not already in the source HTML); if false, no BOM will be added (the default value).
Remarks

This property affects how SaveHtmlAndRelatedFiles(String) method and AutoSaveHtmlMode property (when it's configured to save HTML files). You can set it to true to make it easier for web browsers to understand that the file contents is encoded in UTF-8 (when it's so). This property has no effect when the HTML being writtein is not UTF-8 encoded or BOM is already there.

Setting this property to true often helps if special or non-Latin characters look incorrect when viewing saved HTML files.

See Also