You need to use wide characters .
This is what you need for Unicode, they can get work with almost all the characters you drop, and this can do it, because - and this is the catch: it consumes more bytes (twice as much; it sounds tony, but for the most part, this is really not the case).
Note: In Windows programming, you use the TEXT("")
macro to choose whether your characters are Unicode or ANSI. he will choose according to the settings of your project.
If you insist that it be Unicode, you can write a string prefixed with the letter L
as follows: L"Unicode String"
The header file for working with wide characters is wchar.h
.
source share