gpt4 book ai didi

html - 俄罗斯卢布符号HTML代码?

转载 作者:技术小花猫 更新时间:2023-10-29 11:42:46 43 4
gpt4 key购买 nike

由于俄罗斯中央银行已经批准了俄罗斯卢布的新符号,是否有任何 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.

http://en.wikipedia.org/wiki/Russian_ruble#Currency_symbol

关于html - 俄罗斯卢布符号HTML代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20665622/

43 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com