IE, UTF-8 and select tags - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

IE, UTF-8 and select tags

Hey folks,

Here's a weird one for you:
[code]
A:

?

B:
?
[/code]

In Firefox, both the characters at A and B will display correctly.
In Internet Explorer (tested in 7 and 8), B will display correctly while A displays as a box "WTF-is-this-character" character.

Any ideas on how to force IE to render UTF-8 characters correctly inside a tag?

Thanks!

- Michael

Comments

  • ContinuitiesContinuities Posts: 2Member
    In case anyone is interested, I have solved it.

    Turns out that IE only half-supports Chinese characters unless you specifically install support for East Asian languages into Windows. Apparently it takes a different font to render characters within elements than it does to simply render them to the body. Those special fonts are not installed in Windows by default. Go figure.
Sign In or Register to comment.