winconsole::console
pub fn is_valid_code_page(identifier: u16) -> bool
Returns a boolean representing whether or not the supplied value is a valid code page. A code page is considered valid if it is installed on the system.
identifier
let valid = console::is_valid_code_page(0); assert_eq!(valid, false);