It was done without QT.Extended cout - Category wcout:#include <fcntl.h> #include <io.h> _setmode(_fileno(stdout), _O_U16TEXT); // добавить в main() wcout << L"█"; Key L indicates that the following line is the line of Unicode. In this case, the line can be removed SetConsoleOutputCP(CP_UTF8);it's not necessary anymore.But if used wcout We're gonna have to give up the usual. coutOtherwise you'll get a mistake. Invalid parameter passed to C runtime function. (Because I'm tired) :)But now the symbols are right.