
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, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic