Hi all,

I'm interested in alternative solutions (to those found in the comments on http://au.php.net/htmlspecialchars) for dealing with text pasted into a textarea from Word et al.

I want a way of 'dumbing down' certain characters (like quotes) before putting them through my own smart quotes engine, and convert other characters to their appropriate HTML entity.

htmlspecialchars() doesn't seem to be converting a few test chars I have (like curly quotes)


I'm interested in hearing of a few different methods to overcome the evil MS Word text :)



Justin


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



Reply via email to