Crate diacritics

source ·
Expand description

Used for removing diacritics from a string.

§Examples

let new_string = diacritics::remove_diacritics("TÅRÖÄÆØ");
assert_eq!("TAROAAO", new_string);

Functions§

  • This function removes diacritics and weird character and returns a more standardized string.