It&#x27;s a bit annoying and lame but not really a huge deal.
For example, you can just open an fstream like so:<p><pre><code>  std::ofstream file(convertUTF8ToFStreamPath(pathname).c_str());
</code></pre>
Where convertUTF8ToFStreamPath converts from UTF-8 to the Windows wide encoding (UTF-16?)