I am using Qt to develop application in Croatian language (special characters: Äćšđž) for Symbian and I have problem with encoding.
All that I create in Qt Designer is visible correctly on my Nokia simulator. But when I put it on my phone, the characters are not showing correctly.
Second thing, when I am trying to put new text for QPushButton, or print text with qDebug, it is not showing correctly even on my simulator.
I tried:
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForCStrings(codec);
QTextCodec::setCodecForLocale(codec);
QTextCodec::setCodecForTr(codec);
To copy to clipboard, switch view to plain text mode
and set in Options envoriment encoding to UTF-8, but nothing help.
Any help from you guys :/
Bookmarks