java script Alerts Unicode display issue in IE 8

牧云@^-^@ 提交于 2019-12-11 17:10:30

问题


currently im working on symfony based large application. i m having issue on displaying unicode characters inside java script alerts in IE browsers only fire fox not a issue working fine

for example

alert("<?php echo __("English word to auto convert to other languages by symfony ")?>");

In IE 8 version i can only see boxes when alert pops up.

have anybody idea why this happen please.

regards


回答1:


Check the encoding of the page. This should be in an encoding that supports unicode characters.



来源:https://stackoverflow.com/questions/7006376/java-script-alerts-unicode-display-issue-in-ie-8

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