Unicode.unaccent

You're seeing just the function unaccent, go back to Unicode module for more information.

Removes accents (diacritical marks) from a string.

Arguments

  • string is any String.t

Returns

  • A string with all diacritical marks removed

Notes

The string is first normalised to :nfd form and then all characters in the block :comnbining_diacritical_marks is removed from the string

Example

iex> Unicode.unaccent("Et Ça sera sa moitié.")
"Et Ca sera sa moitie."