Search code examples
firefoxinternet-explorer-8internationalizationtooltipalert

UTF-8 encoding does not work properly with Internet Explorer but works perfectly with Mozilla Firefox


I need to display an alert box in other than English language for which I am making use of bean message using Application Resource properties file. The code written in JSP works perfect in Firefox but in IE the characters are messed up and I get all box signs inside alert box.The same problem occurs for ToolTips as well. Any solutions?


Solution

  • I did found a solution for my query. Actually the issues were with the tool tips and alert boxes were getting displayed in box sign characters only in Internet Explorer and that too in Windows Xp but working properly in windows 7 and other browsers. What i did was:

    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.
    

    And then Check. The desired output will be seen. This is a work around solution but it seems to work fine. Thanks WouterH and Hardik for your guidance till here.