HTML Entities not reloading correctly in editor.
Steps to reproduce:
1) Copy text from a website including mdashes and curly quotes encoded as iso-8859-1 or UTF-8
2) Paste into CuteEditor using normal paste option and save to db.
3) When these contents are displayed from database onto a web page they look fine.
4) When these contents are selected for editing and reloaded into CuteEditor the entities do not render correctly in the editor.
5) If the form is saved, then when the contents are displayed again on webpage they do not render correctly anymore.
Am I doing something wrong?
To rephrase for clarity. If I paste in the editor and save then the entities display correctly. It is when I reload that text back into the editor that they are scrambled.
Thanks for any advice.