在适当的支持下使用中间点ASCII? [英] Using middle-dot ASCII with proper support?

查看:99
本文介绍了在适当的支持下使用中间点ASCII?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网站上经常使用中间点-·. ASCII是·,可以正常工作.但是,某些用户看不到该符号仍然存在一些问题.是否存在像这样非常接近但得到更广泛支持的符号,或者是否有一种输出符号以确保完全支持的方式?

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?

推荐答案

无论您使用的是实际的·字符还是HTML &#183;实体,请确保在浏览器中正确地将ISO-8859-1报告给浏览器. HTTP Content-Type响应标头的charset属性,或者位于HTML本身内部的<meta http-equiv="Content-Type" value="text/html; charset=ISO-8859-1">标记(HTML 4和更早版本)或<meta charset="ISO-8859-1">标记(HTML 5)中.

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.

这篇关于在适当的支持下使用中间点ASCII?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆