Receiving unicode string in c -
I want to write a simple program that receives a Unicode string. However, although I compile in Unicode, it seems that my wscanf function looks on string as ANSI string. My code is the same:
wchar_t name [25]; Wscanf (l "% s", name); What am I missing?
You can specify the format specifier % ls ( % Lc ).
wchar_t name [25]; Wscanf (l "% ls", name);
Comments
Post a Comment