title: How to convert string to wstring in C++
body: <p>I have programmed some code but there is some problem. In this codes i am trying to convert string to wstring. But this string have "█" characters. This character have 219 ascii code. 
  This conversion getting error.</p>
  
  <p>In my code:
  <code>string strs= "█and█something else";
            wstring wstr(strs.begin(),strs.end());</code></p>
  
  <p>After debugging, I am getting result like this
   <code>?and?something else</code></p>
  
  <p>How do I correct this problem?</p>
  
  <p>Thanks...</p>