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

◆ output_code_page() [1/2]

static int32 xtd::console::output_code_page ( )
static

Gets the code page the console uses to write output.

Returns
The code page used to write console output.
Exceptions
xtd::io::io_exceptionAn error occurred during the execution of this operation.
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)