今天调试了一个网站后台程序,调用的EwebEditor在线编辑器就是显示不出来,着急中。。。
后来突然想到可能是编辑器的编码有问题(我的网站用的是utf-8编码,官方EwebEditor编辑器是使用GB2312编码编写的),我于是自己试着把编辑器的编码直接改成utf-8,显示倒是显示出来了,可全是乱码,不行!于是在网上狂找utf-8编码的EwebEditor,还真被我找到几个,于是挨个试,一整天就这么过去了,好坏终于找到一个好使的,也算是庆幸了!
此源码下载自csdn,感谢提供者!
调用代码:
<
INPUT type
=
"
hidden
"
name
=
"
NewsContain
"
value
=
"
<%=Server.HTMLEncode(rs(
"
NewsContain
"
))%>
"
>
< iframe id = " eWebEditor1 " src = " ../edit/ewebeditor.asp?id=NewsContain&style=standard650 " frameborder = " 0 " scrolling = " no " width = " 100% " height = " 350 " ></ iframe >
< iframe id = " eWebEditor1 " src = " ../edit/ewebeditor.asp?id=NewsContain&style=standard650 " frameborder = " 0 " scrolling = " no " width = " 100% " height = " 350 " ></ iframe >