Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 Cute Editor V. 6, UTF-8 and Character sets

Author  Topic 

Pauley1968
Starting Member

9 Posts

Posted - 2010-02-28 : 15:09:48
Hello all,

I'm wondering if anyone has any experience with Cute Editor version 6? I have it within an application I built and everything works just fine except for one thing. When pasting text in from MS Word(which uses UTF-8) the editor allows me to paste and save the text with quotes and apostrophes but won't display quotes or apostrophes properly when you open it back up in the editor again. It shows characters such as "“" and †depending on whether it is a quote or apostrophe.

Originally when you would view the text that was submitted in a browser it would show the unrecognized characters as well but I was able to resolve that by adding the line of code below to the page for viewing the information in a browser and that works fine now.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


After doing some research I found people in the Cute Forums that also had this problem and were able to fix it with code such as the code below being added to the page that opens the text back up in the editor to be edited, but this didn't help in my case.


<%@ CODEPAGE=65001 %>
<% Response.CodePage=65001%>
<% Response.Charset="UTF-8" %>


If anyone has experience with this sort of thing and can offer any suggestions it would be greatly appreciated! I've tried a few different things but have not have any luck.

Thanks

Pauley
   

- Advertisement -