Convert UTF-8 string to AnsiString.
You can find more information in comments below.
/**
Convert utf-8 encoded string to ansi string
@param str UTF-8 encoded string
@param replacer When unsupported by ansi string char is found, it will be replaced with this one. Default '?'
@return Ansi string
*/
AnsiString UTF8ToAnsi(const UTF8String &str, const char replacer = '?');
Namespace: | nitisa |
Include: | Nitisa/Core/Strings.h |