Decode chinese issue by QSettings to read ini file.
I meet a chinese read/write issue on QT5.2.1, it very strange, the code like this.
QSettings *ConfigIni_write = new QSettings("./config.ini",QSettings::IniFormat,0);
ui->v_bggdh->setText(ConfigIni_write->value("/basicinfo/v_bggdh").toString()); //display chinese is a mess here.
ConfigIni_write->setValue("/basicinfo/v_dz",ui->address->text());//write chinese is OK here.
I already set UTF-8 codec, but the strange thing is when i write it, and read again, diaplay in editline is OK.
BUT, relauch Application again, found the editline display mess again.
In a words, in this application, write/read is OK, launch application again, chinese display is a mess.
[edit: added missing coding tags @ SGaist]