mardi 8 octobre 2019

Decoding unicode code point into utf8 using ICU

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.

Aucun commentaire:

Enregistrer un commentaire