Deleting accents with PHP
For one reason or more, it may be useful to convert PHP accentuated text to a text without accents.
Below is a simple function of how to perform this setting :
function strip-Accents($string){
return strtr($string,'àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ',
'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY');
See also:
Compiling C under linux