I am displaying html entity ✓
(a check mark: ✓) in an html document that uses iso-8859-1 for the character set.
In Firefox, it displays as a check mark. In IE, it displays as a square box. Switching to UTF-8 doesn't seem to make a difference.
Is there a reliable way to display these entities in IE 6 & 7 without using images?
If it's IE, you can reasonably assume it's on Windows, and hence, there's a WingDings font available... The letter ü in MS WingDings is a simple checkmark (similar to ✓), and þ is a checkmark in a box (similar to ☑).
I specified the font attributes in a style tag and the checkmark is displayed properly in IE7 which is what the majority of my clients are using. Example:
✓ Some textYou probably want to use
font-family: Arial Unicode MS, Arial, Sans-Serif
. IE does not display properly unicode chars from Arial...Perhaps the typeface used by Internet Explorer doesn’t have a glyph to display this character.
Per http://www.w3.org, the check mark isn't part of 8859-1: http://www.w3.org/TR/html401/sgml/entities.html
It's e29c93 in UTF-8.
You can try the square root symbol, "√", which doesn't look perfect but ok. √