Skip to main content

normalize_text

Function normalize_text 

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

Normalizes text to the output contract.

CRLF and lone CR become LF, then the text is normalized to NFC. NFC only. NFKC rewrites identifiers, so it is prohibited.