Using middle-dot ASCII with proper support?

点点圈 提交于 2019-12-06 19:18:15

问题


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.



来源:https://stackoverflow.com/questions/5199256/using-middle-dot-ascii-with-proper-support

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!