Lead by this page(How to print Unicode character in C++?), I can print Russian "ф".but when try to print "m³"(\u 33a5), I got a "?".
Please anyone can help me.
Console normally does not support displaying unicode characters. Try solution for this question Unicode characters in Windows command line - how?
Try this:
#include <iostream>
#include <fcntl.h>
#include <io.h>
int main()
{
_setmode(_fileno(stdout), _O_U16TEXT);
std::wcout << L"m\u00B3" << std::endl;
return 0;
}