QT中文乱码 String ChineseName = “我是流氓中文”; QTextCodec::codecForName(“UTF-8”)->toUnicode(ChineseName.toStdString().c_str());