Add a couple of emoji to UI in debug mode

This commit is contained in:
Henrik Rydgård
2023-08-06 15:10:49 +02:00
parent ea659319b2
commit a477ca3f05
4 changed files with 15 additions and 2 deletions
+6
View File
@@ -558,6 +558,12 @@ std::u16string ConvertUTF8ToUCS2(const std::string &source) {
return dst;
}
std::string CodepointToUTF8(uint32_t codePoint) {
char temp[16]{};
UTF8::encode(temp, codePoint);
return std::string(temp);
}
#ifndef _WIN32
// Replacements for the Win32 wstring functions. Not to be used from emulation code!