Hello Everyone,
I have crated a GUI and setting the menu bar, tab names, dialog titles / notations, and right-click menus from a .csv file.
Initially i have added English character in .csv file and everything displaying correct in GUI.
but when i have inserted Japanese character in .csv file. in Menu Bar and all showing some garbage value.
// refrence code
QString str = GlobalScreenNotation::getInstance()->read_record(1).c_str(); //reading data from .csv file at position 1
QByteArray byteArray = str.toUtf8();
char* data = byteArray.data();
setWindowTitle(data);
Please assist me, how i can resolve this issue.
Reagrds,
Prabhat
Bookmarks