Horizontal Bar vs Hyphen
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://symbolfyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://symbolfyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://symbolfyi.com/entity//)
Use the native HTML custom element.
VS
Comparaison des propriétés
| Propriété | ― 2015 | ‐ 2010 |
|---|---|---|
| Nom | Horizontal Bar | Hyphen |
| Catégorie | Dashes & Hyphens | Dashes & Hyphens |
| Bloc | General Punctuation | General Punctuation |
| Écriture | Zyyy | Zyyy |
| Catégorie générale | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Bidirectionnel | ON | ON |
Comparaison d'encodages
| Format | 2015 | 2010 |
|---|---|---|
| Unicode | U+2015 | U+2010 |
| HTML Decimal | ― | ‐ |
| HTML Hex | ― | ‐ |
| CSS | \2015 | \2010 |
| JavaScript | \u{2015} | \u{2010} |
| Python | \u2015 | \u2010 |
| UTF-8 | e2 80 95 | e2 80 90 |
Comment les distinguer
Horizontal Bar et Hyphen appartiennent tous deux à la catégorie Dashes & Hyphens et au bloc General Punctuation. Comparez leurs points de code et leur rendu visuel pour les distinguer.
Conseil : Collez le caractère dans un éditeur hexadécimal ou utilisez
charCodeAt()
en JavaScript pour vérifier le point de code réel.