Why are these wierd characters being inserted in Facebook iframe when using jQuery? ​ [closed]

半腔热情 提交于 2019-12-11 06:00:05

问题


jQuery parses some html in my iframe app on Facebook, and when it does, I get tons of these characters:

​ ​​​​​​​​​​​​​

Please see screenshot for more info. Does anyone know why this occurring! and how to fix it?

screenshot showing problem - note how it is randomly inserted into inline css too


回答1:


It's an encoding issue, probably. You'll probably want to define the charset. Like this:

<meta charset="UTF-8">


来源:https://stackoverflow.com/questions/12610513/why-are-these-wierd-characters-being-inserted-in-facebook-iframe-when-using-jque

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