Hi all,
I create a plain text edit on a widget in designer. when I set the plainText property in designer to s.th like "تست" there's no problem and it works properly, but when I use code to do that:
Qt Code:
ui->PlainTextEdit->setPlainText("تست");To copy to clipboard, switch view to plain text mode
the text appear in the plain text edit is s.th like: ???
- Default file encoding of my project is UTF-8
- I changed the locale in designer too but it was not the solution
- I read Internationalization with Qt. I don't want my app support multi languages. I want it just be in my language.
should I make the program in English and then translate it?
any hint?
Bookmarks