MarkdownDocument.GetFileEncoding

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)

Parameters

filename
file to get encoding from


See also:

Class MarkdownDocument

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic