[][src]Function winconsole::console::get_code_page_info

pub fn get_code_page_info(page: CodePage) -> WinResult<CodePageInfo>

Returns a CodePageInfo object which contains information about the CodePage.

Arguments

Examples

let info = console::get_code_page_info(CodePage::utf_8).unwrap();
println!("{}", info.name);

Errors