Expand description
§Unaccent
unaccent is a lightweight utility crate designed to remove accents (diacritical marks)
from strings. Inspired by the PostgreSQL unaccent extension, it provides an easy-to-use
function for normalizing text in Rust applications.
§Example
use unaccent::unaccent;
let input = "Café au lait";
let result = unaccent(input);
assert_eq!(result, "Cafe au lait");
Functions§
- unaccent
- Removes accents (diacritical marks) from a given string and returns the unaccented version.