Using middle-dot ASCII with proper support?

2019-04-21 04:24发布

问题:

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?

回答1:

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.



回答2:

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


回答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.