6

I would like to replace some of the image icons in one of my websites with UTF-8 symbols. It seems that by far not every font in every browser supports all UTF-8 characters. Is there an overview anywhere which UTF-8 symbols are safe to use with the standard browser fonts (Verdana, Arial, etc.)?

tchrist
  • 78,834
  • 30
  • 123
  • 180
free_easy
  • 5,061
  • 3
  • 25
  • 39
  • 2
    http://www.fileformat.info/info/unicode/char/search.htm > search char > then click the link "fonts that support char ...". – BalusC Mar 25 '13 at 12:50

1 Answers1

7

No font supports all Unicode characters (which is what you mean by “UTF-8 characters”). Verdana and Arial are not standard, just common, and a font may exist in different versions (with different character repertoires).

So there is no general answer. But as a rough guide, the Windows Glyph List 4 is an attempt at defining a useful pan-European character collection, something that is sufficient for normal needs of European languages, including many commonly used special characters. It was meant to provide a guideline to font designers, and many modern fonts actually cover it, or most of it.

Replacing image icons by characters is usually unproductive, since things commonly used as icons are either not encoded as characters at all or encoded only recently and have very limited (or no) font support. But this really depends on the kind of symbols used and on the requirements on their shapes.

Jukka K. Korpela
  • 195,524
  • 37
  • 270
  • 390
  • I was recently informed that there are browsers out there, or perhaps browser–platform combos, that have no (properly working?) notion of a font/glyph-substitution policy. This may be why people keep trying to find the One True All-Singing All-Dance Font that does everything: they are trying to find workarounds to bug. But as you point out, those efforts are doomed if true. – tchrist Mar 25 '13 at 15:11