fix qstring to std::string utf8 issue