Double Hyphen vs Fullwidth Digit Five
VS
属性对比
| 属性 | ⹀ 2E40 | 5 FF15 |
|---|---|---|
| 名称 | Double Hyphen | Fullwidth Digit Five |
| 分类 | Punctuation | Punctuation |
| 块 | Supplemental Punctuation | Halfwidth and Fullwidth Forms |
| 文字系统 | Zyyy | Zyyy |
| 通用类别 | Dash Punctuation (Pd) | Decimal Number (Nd) |
| 双向 | ON | EN |
编码对比
| 格式 | 2E40 | FF15 |
|---|---|---|
| Unicode | U+2E40 | U+FF15 |
| HTML Decimal | ⹀ | 5 |
| HTML Hex | ⹀ | 5 |
| CSS | \2E40 | \FF15 |
| JavaScript | \u{2E40} | \u{FF15} |
| Python | \u2e40 | \uff15 |
| UTF-8 | e2 b9 80 | ef bc 95 |
如何区分
Double Hyphen 和 Fullwidth Digit Five 同属 Punctuation 类别,但位于不同的 Unicode 区块。请查看下方对比表了解编码和属性差异。
提示:将字符粘贴到 hex 编辑器中,或使用
charCodeAt()
在 JavaScript 中检查实际码位。