Posted by mcmanus.simon on 04/23/06 12:51
ive used this in the past. Not sure if it will do quite what you want function pre_xml($text) { $text = str_replace('—', '', $text); $text = str_replace('–', '', $text); $text = str_replace('£', '', $text); $text = utf8_encode($text); return str_replace('&', 'and', $text); }
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming