问题
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