Home > Mobile >  Please friends help, QDateTime toString (& quot; MM - dd yyyy - hh: MM: ss") The garbled
Please friends help, QDateTime toString (& quot; MM - dd yyyy - hh: MM: ss") The garbled

Time:02-23

The recent problems encountered a strange
Program is running in a few days, will not be timing problems,
Program involves QDateTime object toString (" MM - dd yyyy - hh: MM: ss ") where the output is garbled,
Rest of the program can work normally,

The midterm a program that is qDebug print log, only QDateTime: : currentDateTime (). The toString (" MM - dd yyyy - hh: MM: ss ")

The result is printed in the log: Kun tax Kun Lv - tax Lv - stem tax Lv Kun: tax Lv: Lv 稉

Took a hexadecimal is: B6 B6 B6 91 90 91 90 EF EF F9 2 d B6 F9 2 d B6 B6 20 90 92 91 3 a B6 90 EF EF F9 B6 F9 3 a EF F9 B6 93

Is really can't figure out what is wrong,

Also please everyone help and have a look

CodePudding user response:

Check code is arguably no problem, the compiler's code
  •  Tags:  
  • Qt
  • Related