title: Determine TextFile Encoding?
body: <p>I need to determine if a text file's content is equal to one of these text encodings:</p>
  
  <pre><code>System.Text.Encoding.ASCII
  System.Text.Encoding.BigEndianUnicode ' UTF-L 16
  System.Text.Encoding.Default ' ANSI
  System.Text.Encoding.Unicode ' UTF16
  System.Text.Encoding.UTF32
  System.Text.Encoding.UTF7
  System.Text.Encoding.UTF8
  </code></pre>
  
  <p>I don't know how to read the byte marks of the files, I've seen snippets doing this but only can determine if file is ASCII or Unicode, therefore I need something more universal.</p>