Special chars being appended to TinyMCE content in Internet Explorer?
I'm having a bit of a problem here and have tried everything I know to get this to work.
I've got a registration page where you get to compose a small HTML block using TinyMCE.
After you submit, it takes you to a preview page. If you want to make changes, you click the "Make Changes" button, which is inside of a form where the HTML content is stored in a hidden field. Upon clicking the Make Changes button, it posts the hidden fields back to the main form page where all the data is placed back into their various form fields.
The problem is that with Internet Explorer, as you click back and forth between Preview and Make Changes, special characters are appended to the end, such as the HTML string "ï¿½". These characters are then showing up on the preview screen, and consequently, the final product.
I've tried str_replace to remove the rogue strings, htmlentities, htmlspecialchars, utf8_encode, made sure the page encoding was utf8, even switching to the new CKEditor, only to discover the same result. Now these guys are in a panic because of this issue.
To consider this solved, the page will not display those weird characters in the editor or on the preview page. Any assistance would be appreciated...thank you much.