title: How do I correctly initialize wide character string?
body: <p>I am trying to figure out wide characters in c. For example, I test a string that contains a single letter "Ē" that is encoded as c492 in utf8.</p>
  
  <pre><code>char* T1 = "Ē";
  //This is the resulting array { 0xc4, 0x92, 0x00 }
  
  wchar_t* T2 = L"Ē";
  //This is the resulting array { 0x00c4, 0x2019, 0x0000 }
  </code></pre>
  
  <p>I expected that the second array would be {0xc492, 0x0000}, instead it contains an extra character that just wastes space in my opinion. Can anyone help me understand what is going on with this?</p>