Hi.
I have for example the string:
Qt Code:
To copy to clipboard, switch view to plain text mode
I need to make it look like this: "string_\u0442\u0435\u0441\u0442"
May be there is a function in Qt to make this ?
Hi.
I have for example the string:
Qt Code:
To copy to clipboard, switch view to plain text mode
I need to make it look like this: "string_\u0442\u0435\u0441\u0442"
May be there is a function in Qt to make this ?
All Rights Reserved ...
you can take a single QChar and convert it.
QString s = ...;
s = "\\u"+QString::number(s[3].unicode) +........ ;
Bookmarks