[−][src]Function winconsole::console::set_output_code_page
pub fn set_output_code_page(page: CodePage) -> WinResult<()>
Sets the output code page to be used by the console.
Arguments
page
- The code page to use.
Examples
console::set_output_code_page(CodePage::IBM437).unwrap();
Errors
ArgumentError
: Returned ifpage
isCodePage::None
orCodePage::Invalid
.IoError
: Returned if an OS error occurs.