#include <iostream>
#include <sstream>
#include <string>
int main() {
std::wstringstream instream;
// Load the simulated `instream` using a UTF-8 string literal [1]
instream << L"█\n \n▀\n▄\n▓\n";
// Print entire `instream`
std::wcout << instream.rdbuf();
}
It doesn't print anything.
Also, I have tried other versions, but I can't print more than 256 characters in ASCII.