Hi there,
We are using CuteEditor for classic ASP v6
We are having a problem with UTF-8 charsets displaying properly within the CUTE editor when calling re-records from a DB, such as when we wish to edit them. The same records show fine on pages with no editor, by adding the following line of META to the head:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Below is the code we use to render the editor within these pages.
There are no other DOCTYPE specifications anywhere else on these pages:
<%
Dim editor
Set editor = New CuteEditor
editor.ID = "articleText"
editor.Text = articleText
editor.EditorBodyStyle = "font:normal 12px arial;"
editor.EditorWysiwygModeCss = "asp.css"
editor.Draw()
%>
We've tried modifying the s_DOCTYPE="" within the include_cuteeditor.asp page to s_DOCTYPE="UTF-8" with no luck. We've also tried toggling the s_UseHTMLEntities = "true" to s_UseHTMLEntities = "false" and can't get the editor to show the UTF-8 characters properly.
An example of what we're seeing is:
The record contains the following: "customer’s time is valuable"
Pages with no editor and the above mentioned META tag show these records as: "customer’s time is valuable" which is the way they should show it.
The editor shows the same records as: " recognizes that our customer’s time is valuable"
I've read through this post and tried the example mentioned, but again with no success.
We do not specify DOCTYPE anywhere else on pages which contain the CuteEditor.
Can you please provide help with this issue as it's the final step we need to overcome to launch our new portal.
Thanks so much in advance!