The IO input functions (e.g. getLine) don't
automatically convert to Unicode, so this function is provided to
make the conversion from a multibyte string in the given code page
to a proper Unicode string. To get the code page for the console,
use getConsoleCP.