12

I'm using the middle dot - · - a lot in my website. The ASCII is ·, which works fine. However, there are still some problems with some users not seeing the symbol. Is there a very close but more widely supported symbol like this, or is there a way to output the symbol to ensure full support?

Stamp
  • 89
  • 9
AKor
  • 8,550
  • 27
  • 82
  • 136
  • 12
    That’s not ASCII. ASCII stops at 127. – tchrist Mar 04 '11 at 21:15
  • 1
    what's wrong with `·`? – cthom06 Mar 04 '11 at 21:17
  • 3
    there are numerous dot- or bullet-like symbols in Unicode, but that one is the only one also in ISO-8859-1, so I guess the others are even less widely supported by fonts. However, I'm quite surprised that there are users that don't even have a single font that has that character—this should have been working for ages. – Philipp Mar 04 '11 at 22:54
  • 1
    Are you writing the actual `·` character in your HTML, or the numeric reference `·`? – dan04 Mar 05 '11 at 05:19

3 Answers3

16

I can't imagine why a font would lack an ISO-8859-1 character, but you might want to try these:

• U+2022 BULLET
∙ U+2219 BULLET OPERATOR
dan04
  • 87,747
  • 23
  • 163
  • 198
15

Whether you use the actual · character or the HTML &#183; entity, make sure ISO-8859-1 is being reported to the browser correctly, either in the charset attribute of the HTTP Content-Type response header, or in a <meta http-equiv="Content-Type" value="text/html; charset=ISO-8859-1"> tag (HTML 4 and earlier) or <meta charset="ISO-8859-1"> tag (HTML 5) inside the HTML itself.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
  • You certainly could, though you would have to change `·` to either `·` or `·`, or just leave the `·` character unencoded in its raw UTF-8 `0xC2` `0xB7` byte format. – Remy Lebeau Aug 12 '14 at 18:34
  • 2
    @RemyLebeau, HTML very emphatically *does not work that way*, `·` will get you `·`, independent of the character encoding used in the file. – David X Dec 27 '14 at 00:47
3

Alt+7 creates this: • You can create the entire ASCII codes from 1 to 255 using Excel. The formula is =Char(x), being x the integer from 1 to 255.

Ben2
  • 31
  • 1