title: C++ Visual Studio character encoding issues
body: <p>Not being able to wrap my head around this one is a real source of shame...</p>
  
  <p>I'm working with a French version of Visual Studio (2008), in a French Windows (XP). French accents put in strings sent to the output window get corrupted. Ditto input <em>from</em> the output window. Typical character encoding issue, I enter ANSI, get UTF-8 in return, or something to that effect. What setting can ensure that the characters remain in ANSI when showing a "hardcoded" string to the output window?</p>
  
  <p>EDIT:</p>
  
  <p>Example:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main()
  {
  std:: cout &lt;&lt; "àéêù" &lt;&lt; std:: endl;
  
  return 0;
  }
  </code></pre>
  
  <p>Will show in the output:</p>
  
  <blockquote>
    <p>&oacute;&uacute;&Ucirc;&uml;</p>
  </blockquote>
  
  <p>(here encoded as HTML for your viewing pleasure)</p>
  
  <p>I would really like it to show:</p>
  
  <blockquote>
    <p>&agrave;&eacute;&ecirc;&ugrave;</p>
  </blockquote>