title: C++ ifstream UTF8 first characters
body: <ol>
  <li><p>Why does a file saved as UTF8 (in Notepad++) have this character in the beginning of the fstream I opened to it in my c++ program?</p>
  
  <blockquote>
    <p>´╗┐</p>
  </blockquote>
  
  <p>I have no idea what it is, I just know that it's not there when I save to ASCII.
  UPDATE: If I save it to UTF8 (without BOM) it's not there.</p></li>
  <li><p>How can I check the encoding of a file (ASCII or UTF8, everything else will be rejected ;) ) in c++. Is it exactly these characters?</p></li>
  </ol>
  
  <p>Thanks!</p>