xtd.console - Reference Guide  0.0.1
Modern c++17 library to manage terminal on Windows, macOS and Linux.

§ input_code_page() [2/2]

template<class Char >
static bool xtd::basic_console< Char >::input_code_page ( int  code_page)
inlinestaticnoexcept

Sets the code page the console uses to read input.

Parameters
code_pageThe code page used to read console input.
Returns
true if the code page changed; otherwise false.