Skip to main content

normalize_typography

Function normalize_typography 

Source
pub fn normalize_typography(input: &str) -> String
Expand description

Replace typographic characters with plain ASCII equivalents. Mirrors Python’s str.translate(_TYPOGRAPHY_TRANS) table.