I think this is the simplest way to slugify urls. You have any contra-indication?
function url_clean($str){
$str = iconv('utf-8', 'us-ascii//TRANSLIT', $str);
$clean_str = preg_replace(array('/\'|\"/','/ /'),array('','-'),$str);
return $clean_str;
}