character encoding of a framed document was not declared

Philip picture Philip · Nov 21, 2012 · Viewed 21.1k times · Source

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)

Answer

Adrian picture Adrian · Dec 7, 2012

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.