Function handles_utils::converter::strip_diacriticals
source · pub fn strip_diacriticals(input_str: &str) -> String
Expand description
This function removes diacritical marks from the input string and returns a new String
without them.
Arguments
input_str
- A string slice that contains the input string from which the diacritical marks need to be removed.
Notes
This function uses the NFKD normalization form and filtering of combining marks to strip the diacritical marks from the input string. Combining marks are Unicode characters that are intended to modify the appearance of another character.