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

bill bill at billtron.com
Thu Jul 28 14:32:34 EDT 2005


You might look through some of the functions in the notes on this page:

http://us2.php.net/manual/en/function.utf8-decode.php


kind regards,

bill

On Thu, 2005-07-28 at 14:08, Todd Pillars wrote:
> 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
> 
> _______________________________________________
> Programming mailing list
> Programming at kalamazoolinux.org
> http://www.kalamazoolinux.org/mailman/listinfo/programming
> 
> 



More information about the Programming mailing list