Gaijinco wrote:
Universal characters need to be specially coded using \uXXXX notation,
What you have doesn't work, what it work was:
\x(ASCII code)
Like if I want to print "@" then I write:
cout << "\x40"
But what about something like japanese characters and the like?
If your compiler doesn't accept \uXXXX then it is time to get a better
compiler.
Also please be aware that getting a Unicode character into your program,
and getting to display correctly when you output it are two completely
different things.
You solve the first using what Victor showed you, the second is up to
your operating system and doesn't have much to do with C++.
john