QTextCodec* codec = QTextCodec::codecForName("utf-8"); QString out = codec->toUnicode(m_process->readAllStandardOutput());