This post has been edited by Bjarne: 20 March 2007 - 08:20 PM
Page 1 of 1
Getting rid of uncompliant characters when pasting from Word
#1
Posted 20 March 2007 - 05:12 PM
In wich file in the TinyMCE-plugin folder can I use "str_replace ()" to replace word-spesific characters like long dash, three dots, odd quotemarks and quotemarks that look like << and >>? These characters are not compliant with either utf-8 of ISO 8869-1. My clients like to write their documents in Word, and then copy them into Etomite, and I do not think I can make them stop this ...
#2
Posted 20 March 2007 - 08:42 PM
My suggestion would be to not use TinyMCE to perform this task... I'd add a hook into manager/processors/save_content.processor.php that would do the stripping prior to saving... This script doesn't get changed all that often so making the change there should be relatively safe... Just keep a copy of the code backed up for when you perform a code base upgrade so you know what to add back in...
Share this topic:
Page 1 of 1


Help
Back to top
MultiQuote








