title: How to output/Input multibyte symbols?
body: <p>After a lot of searching I start using that weird code:</p>
  <pre><code>ofstream myfile;
      string chars =  &quot;абвгдеёжзийклмнопрстуфхцчшщъыьэюя&quot;;
      myfile.open (&quot;alphabet.txt&quot;);
      for (int i = 0; i &lt; 66; i+=2) {
          myfile &lt;&lt; chars[i] &lt;&lt;chars[i+1] &lt;&lt; &quot;\n&quot;;
      }
      myfile.close();
  </code></pre>
  <p>But is there really no way to get a wide character out of std::string?</p>