title: std::locale throws runtime_error exception to "en_US.UTF-8" locale
body: <p>So I have a strange issue with the following code snippet in my project with std::locale:</p>
  
  <pre><code>std::locale local;     
  try {
      local = std::locale ("en_US.UTF-8");
  }
  catch (std::runtime_error &amp;e) {
      std::cout  &lt;&lt; e.what();
  }
  </code></pre>
  
  <p>It throws an exception with a message: "bad locale name" in my production code, but in case I run it in an empty sandbox project it set the local correctly. </p>
  
  <p>I suppose my project has a config somewhere that I am not familiar with, but I do not have any clue where should I look or where can it be set. In my project I tried it in the beginning of the main() function to eliminate the possibility that it is set somewhere else in the code, this why I am guessing it is set somewhere in a config file.</p>
  
  <p>I am compiling in with configuration: Debug Win32</p>
  
  <p>Thanks in advance.</p>