I'm trying to use the tinymce editor as part of a project I'm working on, but it appears that tinymce converts things like apostrophes to '. This is causing problems for me because they're inserted into the database that way (html2text doesn't seem to catch it) and then when forum posts are emailed in plain text form the ' appears in the mail.
Has anyone encountered this problem before, or know of a fix?
html2text is supposed to catch these things so it's more likely a problem with that rather than TinyMCE. It would be interesting to test if catches ' i.e. effectively identical but textually different from ' because (I think) that's what PHP generates going the other way.
I'm going to try to configure tinymce to not do any conversions, and failing that I might have to convert the entities to their actual unicode characters before inserting into the database.
entities : "60,lt,62,gt,38,amp,34,quot"
Doing that means only those entities are changed, and the other characters are stored in their unicode forms.