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

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.