Identify common problematic characters, and develop a function (series of str_replace()'s) to convert them to suit.

Over time, you can always add to this function as you spot more problematic characters.

Also look at something like Tidy (see archives in the last week where it was discussed with the subject "tags to lowercase").

Justin



On Monday, August 4, 2003, at 02:03 PM, Russell P Jones wrote:


Any idea on how to get rid of Windows chracters. I have paroblem with users cutting and pasting out of Microsoft Word into textarea's and input-boxes and the special characters like quotations and apostrophes messing up the xml...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to