How do I convert QString to unicode code.I need to support asian language. I am using asian language kepyboard input.
So I have QString and I like to pass as std::string.
QString strUser= "UserName";SetUserName(std::string);
//I have tried following:-
I have also tried this:-SetUserName(strUser.toUtf8().data());
Qt Code:
To copy to clipboard, switch view to plain text mode
SetUserName(strUser.Ascii().data());
Bookmarks