33 unsigned long uLongVariable;
34 std::stringstream(
string) >> uLongVariable;
45 int len = input.length();
46 const unsigned char *in =
47 reinterpret_cast<const unsigned char*
>(input.c_str());
49 icu::UnicodeString out;
50 for (
int i = 0; i < len;)
54 U8_NEXT(in, i, len, uniChar);
62 U16_NEXT(in, i, len, uniChar);
63 if (U_IS_UNICODE_CHAR(uniChar) && uniChar > 0)
unsigned long stringToUnsignedLong(const char *string)
General utility functions for CPP.
icu::UnicodeString recodeToUnicode(const std::string &input)