日期:2014-05-17 浏览次数:20977 次
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
<%@ page import="com.ckedit.ConfigurationHelper"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<form id="form1" name="form1" method="post" action="/ckeditor/display.jsp">
<table width="650" height="400" border="0" align="center">
<tr>
<td>主题:</td>
<td><input name="title" type="text" id="title" size="80"
maxlength="80" /></td>
</tr>
<tr>
<td valign="top">内容:</td>
<td><textarea cols="80" id="content" name="content">
</textarea> </td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="Submit" value="提交" /> <input
type="reset" name="Reset" value="重置" /></td>
</tr>
</table>
</form>
<ckeditor:replace replace="content"
basePath="/test/ckeditor/"
config="<%= ConfigurationHelper.createConfig() %>" />
</body>
</html>
------解决方案--------------------
从你的fckeditor中找找看吧,看看哪个的编码的,改下。这个不是大问题
------解决方案--------------------
我的也是用的复杂文本编辑器 不过我刚好把你出现乱码的地方的功能裁剪掉了 输入的内容有乱码么 没有的话 就检查一下你的项目是不是都是统一的编码格式
------解决方案--------------------