I have a unicode character code point stored as a string.
std::string code = "0663";
I need to decode it into utf8 and get as a standard std::string using the ICU library.
I decided to use ICU to get a cross-platform bit-independent solution.
I have a unicode character code point stored as a string.
std::string code = "0663";
I need to decode it into utf8 and get as a standard std::string using the ICU library.
I decided to use ICU to get a cross-platform bit-independent solution.
Untested:
int32_t.int32_t as a UChar32.UnicodeString with UnicodeString::setTo from the UChar32.UnicodeString::toUTF8String from the UnicodeString.