C++ (Qt)#include <iostream>#include <QTextCodec>#include <QObject> #define STR(s) ((QTextCodec::codecForLocale()->fromUnicode(s)).constData()) int main(){ std::cout << STR( QObject::tr( "Привет, Мир!" ) );}