Crates.io | diacritics |
lib.rs | diacritics |
version | 0.2.2 |
source | src |
created_at | 2020-10-07 22:18:32.804326 |
updated_at | 2024-05-13 18:41:58.288745 |
description | Remove diacritics from letters, for example when standardizing input for a search |
homepage | |
repository | https://github.com/YesSeri/diacritics |
max_upload_size | |
id | 297113 |
size | 12,484 |
This is a rust crate for removing diacritics from a string. It can be useful when wanting to standardize some material to make it easier to search, among other things.
let string = "TÅRÖÄÆØ";
let new_string = diacritics::remove_diacritics(string);
assert_eq!("TAROAAO", new_string);