pub fn unicode_to_winansi(ch: char) -> Option<u8>Expand description
Map a Unicode scalar to its WinAnsiEncoding byte. ASCII (0x20–0x7E) and
Latin-1 (0xA0–0xFF) are identity; the WinAnsi C1 block (0x80–0x9F) holds
typographic punctuation / currency whose Unicode code points are ≥ 0x100.
Returns None for code points with no WinAnsi representation.