title: Auto encoding detect in C#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1025332/determine-a-strings-encoding-in-c">Determine a string&#39;s encoding in C#</a>  </p>
  </blockquote>
  
  
  
  <p>Many text editorsr (like Notepad++) can detect encoding of arbitrary file. Can I detect encodoing of file in C#?</p>