Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <unicode\unistr.h>
- int main()
- {
- auto myStr = icu::UnicodeString::fromUTF8(u8"кошка");
- std::cout << "length: " << myStr.length() << std::endl;
- std::getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement