[KLUG Programming] PHP, MySQL and MS Word Cut-n-Paste

Todd Pillars todd at terralabs.com
Thu Jul 28 14:08:05 EDT 2005


Does anyone know of a way to strip the MS Word cruft out of a cut and 
paste?  Document formating seems to be creeping into a MySQL database, 
when pasting from MS Word into a PHP form.

I have tried both utf8_convert and mysql_real_escape_string() but some 
unicode (hex) characters are still getting by.

Any Ideas

Thanks,
Todd



More information about the Programming mailing list