pasted text from word

From: Date: Thu, 09 Oct 2003 01:53:51 +0000
Subject: pasted text from word
Groups: php.general 
Request: Send a blank email to php-general+get-165544@lists.php.net to get a copy of this message
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

« previous php.general (#165544) next »