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?
Asked
Active
Viewed 6.9k times
12
-
12That’s not ASCII. ASCII stops at 127. – tchrist Mar 04 '11 at 21:15
-
what's wrong with `·`? – cthom06 Mar 04 '11 at 21:17
-
3there 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
-
Are you writing the actual `·` character in your HTML, or the numeric reference `·`? – dan04 Mar 05 '11 at 05:19
3 Answers
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
- 82,709
- 22
- 159
- 189
15
Whether you use the actual · character or the HTML · 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
- 505,946
- 29
- 409
- 696
-
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