pub static CP437_CONTROL: Cp437DialectExpand description
cp437_DOSLatinUS as provided by the Unicode Consortium.
Contains control characters in the '\x00'..'\x20' area.
The decode table is additionally enriched from the the variant table on Wikipedia.
§Examples
Decoding:
assert_eq!(CP437_CONTROL.decode(0x41), 'A');
assert_eq!(CP437_CONTROL.decode(0x91), 'æ'); // LATIN SMALL LIGATURE AEEncoding:
assert_eq!(CP437_CONTROL.encode('A'), Some(0x41));
assert_eq!(CP437_CONTROL.encode('æ'), Some(0x91)); // LATIN SMALL LIGATURE AE
assert_eq!(CP437_CONTROL.encode('ź'), None); // LATIN SMALL LETTER Z WITH ACUTE