没有声明框架文档的字符编码 [英] character encoding of a framed document was not declared

查看:694
本文介绍了没有声明框架文档的字符编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我开发一个网站时,我在FF中得到了这个警告。

 没有声明框架文档的字符编码。如果在没有文档框架的情况下查看文档,文档可能会有所不同。 

$ b $ e)}); else for(var g in a)ca(g,a [g],c,e); return d.join(& ).replace(bD,+)}}),f ....

jquery .... min.js(第4行)

解决方案

您需要将

< meta http-equiv =Content-typecontent =text / html; charset = UTF-8>



在iframe的头部,或者你正在使用的任何字符集编码。


I get this warning in FF when developing a site of mine. I can't find any real info about it and how to fix this.

the character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.


...e)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f....

jquery....min.js (line 4)

解决方案

You need to put

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

In the head of the iframe or whatever charset encoding you are using.

这篇关于没有声明框架文档的字符编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆