I need to get a substring of the first N characters in a std::string assumed to be utf8. I learned the hard way that .substr does not work... as... expected.
.substr
Reference: My strings probably look like this: mission:\n\n1億2千万匹
Aucun commentaire:
Enregistrer un commentaire