Horizontal Bar vs Non-Breaking Hyphen
VS
Comparação de propriedades
| Propriedade | ― 2015 | ‑ 2011 |
|---|---|---|
| Nome | Horizontal Bar | Non-Breaking Hyphen |
| Categoria | Dashes & Hyphens | Dashes & Hyphens |
| Bloco | General Punctuation | General Punctuation |
| Script | Zyyy | Zyyy |
| Categoria geral | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Bidirecional | ON | ON |
Comparação de codificações
| Formato | 2015 | 2011 |
|---|---|---|
| Unicode | U+2015 | U+2011 |
| HTML Decimal | ― | ‑ |
| HTML Hex | ― | ‑ |
| CSS | \2015 | \2011 |
| JavaScript | \u{2015} | \u{2011} |
| Python | \u2015 | \u2011 |
| UTF-8 | e2 80 95 | e2 80 91 |
Como distinguir
Tanto Horizontal Bar quanto Non-Breaking Hyphen pertencem à categoria Dashes & Hyphens e ao bloco General Punctuation. Compare seus pontos de código e renderização visual para distingui-los.
Dica: Cole o caractere em um editor hexadecimal ou use
charCodeAt()
em JavaScript para verificar o ponto de código real.