手机
当前位置:查字典教程网 >编程开发 >网页编辑器 >FCKeditor 2.6 编码错误导致修改的内容出现乱码的解决方法
FCKeditor 2.6 编码错误导致修改的内容出现乱码的解决方法
摘要:FCKeditor2.6的目录editor下有一文件fckeditor.html。我修改了该文件,其中有些中文字,在IE中打开之,发现是乱码...

FCKeditor 2.6 的目录 editor 下有一文件 fckeditor.html。

我修改了该文件,其中有些中文字,在 IE 中打开之,发现是乱码,原来这个文件有问题。文件中指定了 charset 为 utf-8:

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

可是文件却是以 ANSI 保存的,改为以 UTF-8 保存,中文不再乱码了。

顺便说一下,调用 fckeditor.html 这个编辑器的示例:

复制代码 代码如下:

<iframe id="fckcontent" src="http://www.jb51.netfckeditor/editor/fckeditor.html?InstanceName=fckcontent&Toolbar=Default" width="780" height="360" frameborder="0" scrolling="no"></iframe>

【FCKeditor 2.6 编码错误导致修改的内容出现乱码的解决方法】相关文章:

浏览器执行history.go(-1) FCKeditor编辑框内显示html源代码的解决方法

Ewebeditor 不能粘贴或复制的解决方法

FCKEditor常用Js代码,获取FCK内容,统计FCK字数,向FCK写入指定代码

FCKeditor添加自定义按钮的方法

ie9后浏览器fckeditor无法上传图片、弹出浮层内容不显示的解决方法

CuteEditor 编辑器的字体样式无法控制的解决方法

ASP下使用FCKeditor在线编辑器的方法

KindEditor 编辑器 v3.5.1 修改版

jsp fckeditor 上传中文图片乱码问题的解决方法

伪静态下不能使用FCKeditor的解决方法

精品推荐
分类导航