Lines Matching refs:ustring
32 char *getCString(const UnicodeString *uString)
34 if (uString == NULL) {
38 le_int32 uLength = uString->length();
39 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV);
42 uString->extract(0, uLength, cString, cLength, US_INV);
54 const UnicodeString ustring(uChars);
56 return getCString(&ustring);
59 char *getUTF8String(const UnicodeString *uString)
61 if (uString == NULL) {
65 le_int32 uLength = uString->length();
66 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8");
69 uString->extract(0, uLength, cString, cLength, "UTF-8");