3 ms·
You can have a look on: s_is_emoji...
by clauderoux 7y ago
You can have a look on: s_is_emoji...
- clauderoux 7y agoIn https://github.com/naver/tamgu/blob/master/include/conversion.h https://github.com/naver/tamgu/blob/master/include/conversio..., I have implemented a class: agnostring which derives from "std::string". There are some methods to traverse a UTF8 string: begin(): to initialize the traversal end() : is true when the string is fully traversed next(): which goes to the next character and returns the current character. s.begin(); while (!s.end()) { u = s.next(); }
- arcticbull 7y agoVery cool, thanks!