Figure Dash vs Non-Breaking Hyphen
VS
Comparación de propiedades
| Propiedad | ‒ 2012 | ‑ 2011 |
|---|---|---|
| Nombre | Figure Dash | Non-Breaking Hyphen |
| Categoría | Rayas y guiones | Rayas y guiones |
| Bloque | General Punctuation | General Punctuation |
| Escritura | Zyyy | Zyyy |
| Categoría general | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Bidireccional | ON | ON |
Comparación de codificaciones
| Formato | 2012 | 2011 |
|---|---|---|
| Unicode | U+2012 | U+2011 |
| HTML Decimal | ‒ | ‑ |
| HTML Hex | ‒ | ‑ |
| CSS | \2012 | \2011 |
| JavaScript | \u{2012} | \u{2011} |
| Python | \u2012 | \u2011 |
| UTF-8 | e2 80 92 | e2 80 91 |
Cómo distinguirlos
Tanto Figure Dash como Non-Breaking Hyphen pertenecen a la categoría Rayas y guiones y al bloque General Punctuation. Compare sus puntos de código y renderizado visual para distinguirlos.
Consejo: Pegue el carácter en un editor hexadecimal o use
charCodeAt()
en JavaScript para verificar el punto de código real.