The Application Out show messy for chinese characters when use qDebug class only in the Debug Mode
-
qDebug() << ("程序开始运行");The source file is utf-8 with bom
The compiler is mingw32It executes correctly without debug but it show messy with the debug mode in the same code and the same environment.
I do not know what is the reason.
@NekoNow said in The Application Out show messy for chinese characters when use qDebug class only in the Debug Mode:
I do not know what is the reason
The reason is probably the encoding in the terminal where qDebug() output is printed.
Also, your description is not clear: do you mean in release mode qDebug() shows the output correctly, but in debug mode it does not? -
@NekoNow said in The Application Out show messy for chinese characters when use qDebug class only in the Debug Mode:
I do not know what is the reason
The reason is probably the encoding in the terminal where qDebug() output is printed.
Also, your description is not clear: do you mean in release mode qDebug() shows the output correctly, but in debug mode it does not? -
@NekoNow said in The Application Out show messy for chinese characters when use qDebug class only in the Debug Mode:
I do not know what is the reason
The reason is probably the encoding in the terminal where qDebug() output is printed.
Also, your description is not clear: do you mean in release mode qDebug() shows the output correctly, but in debug mode it does not?