Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: TinyMCE oddities
12-03-2008, 04:29 PM #1
I'm using the TinyMCE RTF editor on a site and I've got it setup for multiple locations.
The first instance on the company details page works just fine without prepending the stray char.
However on the company add offer page for some reason on post its inserting a stray character at the very start of the posted variable.
So this is the tinymce text area.
<textarea id="offerdescription" name="offerdescription" rows="15" cols="80" style="width: 80%"></textarea>
$offerdescription = mysql_real_escape_string(htmlentities($offerdescription));
Â which when ran through htmlentities() is coming back as Â
The page is already set to <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> in header and the text area is empty on page load.
It looks to me to be mysteriously pulling in this Acirc randomly I can't find where its coming from or whats causing it.