Em Dash vs Horizontal Bar
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
Сравнение свойств
| Свойство | — 2014 | ― 2015 |
|---|---|---|
| Название | Em Dash | Horizontal Bar |
| Категория | Dashes & Hyphens | Dashes & Hyphens |
| Блок | General Punctuation | General Punctuation |
| Скрипт | Zyyy | Zyyy |
| Общая категория | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| Двунаправленный | ON | ON |
Сравнение кодировок
| Формат | 2014 | 2015 |
|---|---|---|
| Unicode | U+2014 | U+2015 |
| HTML Decimal | — | ― |
| HTML Hex | — | ― |
| CSS | \2014 | \2015 |
| JavaScript | \u{2014} | \u{2015} |
| Python | \u2014 | \u2015 |
| UTF-8 | e2 80 94 | e2 80 95 |
Как различить
Em Dash и Horizontal Bar относятся к категории Dashes & Hyphens и блоку General Punctuation. Сравните их кодовые точки и визуальное отображение для различения.
Совет: Вставьте символ в hex-редактор или используйте
charCodeAt()
в JavaScript для проверки фактической кодовой точки.