xtd 0.2.0
Loading...
Searching...
No Matches

◆ input_code_page() [2/2]

static bool xtd::console::input_code_page ( int32  code_page)
static

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.
Remarks
The following table lists the encodings supported by xtd.
Code page Name Display name
1200 utf-16 Unicode
1201 utf-16BE Unicode (Big endian)
12000 utf-32 Unicode (UTF-32)
12001 utf-32BE Unicode (UTF-32 Big endian)
20127 us-ascii US-ASCII
28591 iso-8859-1 Western European (ISO)
65000 utf-7 Unicode (UTF-7)
65001 utf-8 Unicode (UTF-8)