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