Quote Originally Posted by Lock Down View Post
try one of these:
PHP Code: 
$replace = array(chr(151)); 
   
$str str_replace($replace"-"$str); 
$replace = array('—'); 
   
$str str_replace($replace"-"$str); 
chr(151) isn't such a good idea... as UTF-8, ISO, etc. all doesn't have the same numbers for the same chars.