修改这个zh-cn.js编码,改成GBK
<script type="text/javascript" src="${path}/ueditor-utf8/lang/zh-cn/zh-cn.js" charset="GBK"></script>
整体如下:
<textarea id="info" name="info" rows="6" cols="60"></textarea> <script type="text/javascript" src="${path}/ueditor-utf8/ueditor.config.js"></script> <script type="text/javascript" src="${path}/ueditor-utf8/ueditor.all.js"></script> <script type="text/javascript" src="${path}/ueditor-utf8/lang/zh-cn/zh-cn.js" charset="GBK"></script> <!-- 实例化编辑器 --> <script type="text/javascript"> var ue = UE.getEditor("info",{ initialFrameWidth:600,initialFrameHeight:600 }); </script>
0条评论
我要评论