[SOLVED]printing a string with chinese characters
General and Desktop
3
Posts
2
Posters
3.0k
Views
2
Watching
-
wrote on 30 Jul 2015, 13:00 last edited by GrahamL
Hi
I have QString containing Chinese characterswstring w = L"列举 1"; QString ws = QString::fromStdWString(w);
Looking at
ws
in the debugger shows Chinese characters but output via qDebug shows '??'Any idea on how I can get qDebug to print this correctly?
Thanks
-
@GrahamL said:
Unless they fixed it in later version it wont work on windows.
http://stackoverflow.com/questions/16884570/qdebug-doesnt-support-unicode-strings-on-windows
-
wrote on 30 Jul 2015, 13:30 last edited by
Ok
Thanks
1/3