Somehow I couldn't find the answer in Google. Probably I'm using the wrong terminology when I'm searching. I'm trying to perform a simple task, convert a number that represents a character to the characters itself like in this table: http://unicode-table.com/en/#0460
For example, if my number is 47 (which is '\'), I can just put 47 in a char
and print it using cout
and I will see in the console a backslash (there is no problem for numbers lower than 256).
But if my number is 1120, the character should be 'Ѡ' (omega in Latin). I assume it is represented by several characters (which cout
would know to convert to 'Ѡ' when it prints to the screen).
How do I get these "several characters" that represent 'Ѡ'?
I have a library called ICU, and I'm using UTF-8.