Unistring starCharToUnistring char starStr Utf8String strseq Utf8Strin

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Unistring starCharToUnistring(char *starStr)
{
Utf8String strseq = Utf8String(starStr);
Unistring strunistring = Unistring(strseq);
return strunistring;
}
Unistring stdStrToUnistring(std::string *str)
{
Unistring strunistring = starCharToUnistring((char*)(*str).c_str());
return strunistring;
}