Many of the products sold on designer-lights.com from European manufacturers such as Santa + Cole have accented (diacritic) characters in their titles.
The following PHP code replaces the accented characters with their accent-less equivalents. This makes links from pages which aren’t UTF-8 encoded work correctly.
Removing Accented UTF-8 Characters with PHP
$title = "Trípode G5"; $search = explode(",","ç,æ,œ,á,é,í,ó,ú,à,è,ì,ò,ù,ä,ë,ï,ö,ü,ÿ,â,ê,î,ô,û,å,e,i,ø,u"); $replace = explode(",","c,ae,oe,a,e,i,o,u,a,e,i,o,u,a,e,i,o,u,y,a,e,i,o,u,a,e,i,o,u"); $urlTitle = str_replace($search, $replace, $title);