【问题标题】:UTF-8 encoding does not work properly with Internet Explorer but works perfectly with Mozilla FirefoxUTF-8 编码不能在 Internet Explorer 上正常工作,但在 Mozilla Firefox 上工作得很好
【发布时间】:2012-04-17 11:14:11
【问题描述】:

我需要显示一个非英语的警报框,我正在使用应用程序资源属性文件使用 bean 消息。用 JSP 编写的代码在 Firefox 中运行完美,但在 IE 中字符混乱,我在警告框中得到所有框标志。同样的问题也出现在 ToolTips 中。有什么解决办法吗?

【问题讨论】:

标签: firefox internet-explorer-8 internationalization tooltip alert


【解决方案1】:
【解决方案2】:

我确实为我的查询找到了解决方案。实际上问题出在工具提示和警告框仅在 Internet Explorer 和 Windows Xp 中以方框符号字符显示,但在 Windows 7 和其他浏览器中正常工作。 我所做的是:

1. Right Click On Desktop
2. Properties
3. Appearence Tab
4. Click On Advanced Button
5. In the Item Combo box Select MessageBox(the font combo box should get enabled by then)
6. Select Arial MS Unicode Font instead of Tahoma(Windows XP Default) Font.

然后检查。将看到所需的输出。这是一个解决方案,但它似乎工作正常。感谢 WouterH 和 Hardik 提供的指导。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-11
    相关资源
    最近更新 更多