Remove Accents

Remove diacritical marks and accents from Unicode characters, converting them to their ASCII equivalents.

Code

General
echo "$str" | iconv -f UTF-8 -t ASCII//TRANSLIT

Parameters

The string to normalize

Server

More Bash Snippets