PaulH
PaulH

Reputation: 7843

displaying special characters in IE

I have a webpage that uses the special character &#xFE3E in the HTML. In Firefox 4.0B12 this looks like a double downward-pointing chevron (︾). In Internet Explorer 8.0.7600.16385, however, this it just looks like &#xFE3E.

What do I need to do to get this character to display in IE the way it does in FF?

Thanks, PaulH

Upvotes: 1

Views: 3997

Answers (3)

bobince
bobince

Reputation: 536359

Explicitly specify a font that you know contains that character (eg in a font-family CSS rule), so that you're not relying on the font fallback functionality of the browser (which varies, but Firefox is typically better at it than IE).

U+FE3E is a character intended for use as a close bracket in vertical ideographic text (Chinese, Japanese etc). You shouldn't expect it to be available on a machine that doesn't have East Asian fonts installed, and using it to get a particular shape unrelated to parentheses is really a misuse. I would not use it on the web. There are a limited number of ‘symbol’ characters that generally render reliably across the main OS default installs and this isn't one of them.

Upvotes: 2

Dustin Laine
Dustin Laine

Reputation: 38503

You need to include the semi-colon after the HTML code: ︾.

Upvotes: 1

ide
ide

Reputation: 20788

Make sure to end the character reference with a semicolon, like ︾.

Upvotes: 1

Related Questions