character encoding of a framed document was not declared

允我心安 提交于 2020-01-01 09:38:53

问题


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)


回答1:


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.



来源:https://stackoverflow.com/questions/13491641/character-encoding-of-a-framed-document-was-not-declared

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!