public void EncodingUsingNewEncoding()
{
Document doc = DocumentHelper.CreateDocumentFillWithDummyText();
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
{
Encoding = new UTF32Encoding(),
SaveFormat = SaveFormat.HtmlFixed,
ExportEmbeddedCss = true,
ExportEmbeddedFonts = true,
ExportEmbeddedImages = true,
ExportEmbeddedSvg = true
};
doc.Save(MyDir + "EncodingUsingNewEncoding.html", htmlFixedSaveOptions);
}