I am trying to write special characters to a file. To be specific something along the 'ă' character, which apparently has the U+0103 Code.
I do not understand how to set the encoding to UNICODE. And how to actually print that character. Everything I tried, including wchar_t only prints '?'.
And if I read from a text file using wchar_t, will it read char by char? Because a normal character in a text file is 1 byte and wchar_t is 2/4. Do I need to read with char and convert?
Some example source code would be apreciated... Thanks in advance!