cheers dude doesn't really help though I have tride this
function unaccent($text){
$trans = get_html_translation_table(HTML_ENTITIES); //Get the entities table into an array
foreach ($trans as $literal =>$entity){ //Create two arrays, for accented and unaccented forms
if (ord($literal)>=192){ //Don't contemplate other characters such as fractions, quotes etc
$replace[]=substr($entity,1,1); //Get 'E' from string '&Eaccute' etc.
$search[]=$literal;}} //Get accented form of the letter
return str_replace($search, $replace, $text);}
used on
echo "<handset_description><![CDATA['".unaccent(htmlspecialchars($o['handset_description']))."']]></handset_description>\n";
output:
http://www.sellfones.net/xml-out.php?feed=phones&affil=21
the above contains both single and double quotes other instances include trademarks and copyrights.
My php is very poor im just learning so if I have overlooked anything from your link im sorry