winconsole::console
pub fn get_supported_code_pages() -> WinResult<Vec<CodePage>>
Returns a list of supported code pages.
let pages = console::get_supported_code_pages().unwrap(); for page in pages { println!("{}", page); }
IoError