【发布时间】:2014-09-12 13:46:00
【问题描述】:
在我的 firefox 网页控制台中随机出现这个问题(是 js 选项卡)
它只是刚刚出现,无法链接到我所做的任何更改。
完整的错误是:
The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.
或者这个:
The character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. When viewed in a differently-configured browser, this page will reload automatically. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.
问题指向这一行:
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
对我来说,那个元标记可以吗?任何我认为有冲突并导致其他事情出现问题的帮助。
克雷格
【问题讨论】:
标签: javascript html utf-8 character-encoding meta