utf-8 encoding a std::string?
<p>I use a drawing api which takes in a const char* to a utf-8 encoded string. Doing myStdString.cstr() does not work, the api fails to draw the string.</p>

<p>for example:</p>

<pre><code>sd::stringsomeText = "■□▢▣▤▥▦▧▨▩▪▫▬▭▮▯▰▱";
</code></pre>

<p>will render ???????????????</p>

<p>So how do I get the std::string to act properly?</p>

<p>Thanks</p>
