WIN10 and 7 for 64 Chinese professional edition, software on WIN10 display is normal, Chinese show the code on Windows 7, a log file is garbled (file format for ANSI)
Part of the code
QString name1=QString: : fromUtf8 (empName);
Logfile - & gt; Write (plateNumber);//log
QJsonObject oJson;
OJson. Insert (" name ", name1);
M_httpDocum. SetObject (oJson);
M_httpData=https://bbs.csdn.net/topics/m_httpDocum.toJson (QJsonDocument: : Compact);//convert to json
M_httpManager - & gt; Post (m_httpRequest m_httpData);//sent to server