Home  >  Article  >  Web Front-end  >  Firefox下提示illegal character并出现乱码的原因_javascript技巧

Firefox下提示illegal character并出现乱码的原因_javascript技巧

WBOY
WBOYOriginal
2016-05-16 18:31:20950browse

类似于这样的显示:

复制代码 代码如下:

错误: illegal character源文件:file:///F:/MyDocument/jquery-126all.js行:1,列:4源代码:昨湵瑣潩⡮笩⼊ਪ⨠樠畑牥⁹⸱⸲‶‭敎⁷慗敶䨠癡獡牣灩ੴ⨠ ‪潃祰楲桧⁴挨

这个时候注意看一下你的 .js 文件的编码,可能编码不一致
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn