title: C/C++ encoding questions
body: <p>I have a few questions in trying to understand different encodings.</p>
  
  <p>What is the default encoding for strings?</p>
  
  <pre><code>char ascii[]= "Some text"; // This is plain ASCII right?
  wchar_t utf[] = L"Some Text"; // Is this UTF-16? Or ASCII stored in wchar_t's?
  MessageBoxW(NULL, L"Hello", L"HI", MB_OK); // What encodings are the 2 strings in?
  </code></pre>
  
  <p>And then, how would I create a UTF-8 string? If I wanted to display UTF-8 characters in a MessageBox?</p>
  
  <p>My questions are mostly directed at Windows by the way, but if it's different on different OSes I'm interested to know.</p>