symbol by symbol to hex-number for each symbol from table. And every symbols are just 1 byte in memory(ANSI). But in Unicode 1 symbol might be, for example, 2 bytes or more bytes, isn't it?
Every symbols are just numbers for pc.
Actually it works, but it works wrong, because I'm getting everytime just first letter from row and after that all what was in memory.
wchar_t string[100];
FILE *f;
f = fopen("test.txt", "rb");
fgetws(string, 100, f);
printf("%ls\n", string); // ls is for long string or meaning wide string