Retrieve the file encoding for a given file so we can capture and store the Encoding when writing the file back out after editing.
Default is Utf-8 (w/ BOM). If file without BOM is read it is assumed it's UTF-8.
public void GetFileEncoding(string filename)
file to get encoding from
See also:Class MarkdownDocument
Comment or report problem with topic