@jsulm
I tried QChar to convert unicode and my problem solved. now qDebug prints the text correctly. 👌🏻
I also copied the readAllStandardOutput() to a QString and removed backslashes via remove("\x5C\x75").
You mean how to replace QTextCodec with QStringConverter? (QTextStream remains the same in Qt6 as in Qt5)
I've only used QStringConverter for the case shown above but there are more info for example here