Advertisement
Guest User

Untitled

a guest
Dec 26th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. #include <unicode\unistr.h>
  4.  
  5. int main()
  6. {
  7.     auto myStr = icu::UnicodeString::fromUTF8(u8"кошка");
  8.     std::cout << "length: " << myStr.length() << std::endl;
  9.  
  10.     std::getchar();
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement