Handle Accented Characters Using PHP


<?php

echo handle_accented_chars('Café and TV’s'); // Café TV’s

function handle_accented_chars($x) {  
  return iconv("UTF-8", "ISO-8859-1//TRANSLIT", $x);
}

?>