string localisation missing some special characters
<p>i'm working with localisation for c++ project &amp; got references from "<a href="http://becomingindiedev.blogspot.com/2014/05/ios-localization-of-strings-in-c.html" rel="nofollow">this link</a>"</p>

<p>in "LocalizationManager.mm" file it has method getLocalizedString as :</p>

<pre><code>std::string LocalizationManager::getLocalizedString(const std::string&amp; key)
{ 
NSString *str = [NSString stringWithUTF8String: key.c_str()];
std::string s([NSLocalizedString(str, nil) UTF8String]);
return s; 
}
</code></pre>

<p>and call it in .cpp files as :</p>

<pre><code>std::string strHighscore = LocalizationManager::getInstance() -&gt; getLocalizedString("best");
</code></pre>

<p>The problem here is that for some reasons , it didnt show localised strings for japanese or chinese language (i.e blank) and also some special characters when using vienamese are missing. Though other languages (like german) are supported fine ofcourse.</p>

<p>My guess is it has to do something with UTF8, but am too beginner for such. Anything pointing to what i'm doing wrong would be really appreciated.</p>