-- v2.2 === Back to v2.0 + trick to fix this strange upper case when two special characters are attached :

function replace_word($str) {

// replace target words
$word = array (
"EncarnaçÃo" =_ "Encarnação" // when you got 2 special characters coupled in a word use this function to avoid this strange upper case oO'
return strtr($str,$word);

NB: Only the main file (account_word_cleaner.php) attached, just drag and drop it.
Support all latin languages with accented characters.

Works with all OsCommerce versions