作者热门文章
- objective-c - iOS 5 : Can you override UIAppearance customisations in specific classes?
- iphone - 如何将 CGFontRef 转换为 UIFont?
- ios - 以编程方式关闭标记的信息窗口 google maps iOS
- ios - Xcode 5 - 尝试验证存档时出现 "No application records were found"
由于俄罗斯中央银行已经批准了俄罗斯卢布的新符号,是否有任何 HTML 代码?或者我需要使用 png 图像?
最佳答案
自 2014 年 6 月 16 日起,在 unicode 中有一个字母:\u20bd
代表 RUB 货币符号:
₽
因此,问题的答案: 应该用于 RUB 符号的 HTML 实体是 ₽
不过,我想目前并不是所有的字体都能显示它。在浏览器中看到登录的能力通常取决于您的系统字体。截至今天,我的 Mac OS 网络字体显示正确,但我没有在 Windows 和 Linux 上检查它。
因此,当读者看到它仅依赖于可能陈旧的系统字体时,不建议使用这个新标志。如果您想确信该符号会显示,您至少需要为可能包含 RUB 符号的段落提供您自己的字体。
来自维基百科:
On 4 February 2014, the Unicode Technical Committee during its 138th meeting in San Jose accepted U+20BD ₽ ruble sign symbol for the Unicode version 7.0, the symbol was then included into Unicode 7.0 released on 16 June 2014.
关于html - 俄罗斯卢布符号HTML代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20665622/
我是一名优秀的程序员,十分优秀!