title: How to use utf8 character arrays in c++?
body: <p>Is it possible to have <code>char *</code>s to work with utf8 encoding in C++ (VC2010)?</p>
  
  <p>For example if my source file is saved in utf8 and I write something like this:</p>
  
  <pre><code>const char* c = "aäáéöő";
  </code></pre>
  
  <p>Is this possible to make it utf-8 encoded? And if yes, how is it possible to use</p>
  
  <pre><code>char* c2 = new char[strlen("aäáéöő")];
  </code></pre>
  
  <p>for dynamic allocation if characters can be variable length?</p>