3 ms·
tl;dr: The Windows console uses UTF-16. You need to convert to/from UTF-16 if you want to use another encoding elsewhere in your program.
by ChrisSD 6y ago
tl;dr: The Windows console uses UTF-16. You need to convert to/from UTF-16 if you want to use another encoding elsewhere in your program.