| Nom du symbole | Em Dash |
| Version Unicode | 1.1 |
| Unicode | U+2014 |
| Bloc Unicode | |
| Catégorie générale | Dash Punctuation (Pd) |
| Code CSS | \2014 |
| Code hexadécimal | 0x2014 |
| Code HTML | — |
| LaTeX | --- |
| Symbole | — |
| Encodage URL (pourcent UTF-8) | %E2%80%94 |
| Nom oral / lecteur d’écran | Em Dash |
| UTF-8 | E2 80 94 |
| UTF-16 | 2014 |
| UTF-32 | 00002014 |
1\documentclass{article}2\usepackage{pifont}3---4\end{document}Vous pouvez saisir le symbole em dash sur la plupart des appareils modernes avec les méthodes suivantes :
Alt + 8212 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "em dash", or use Unicode Hex Input with 2014.
Ctrl + Shift + U, type 2014, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.em-dash::before { content: "\2014"; }1<span>—</span>La représentation du symbole Em Dash dans différents langages de programmation se trouve dans le tableau ci-dessous :
| Langage | Représentation |
|---|---|
| JavaScript / TypeScript | '\u2014' or String.fromCodePoint(8212) |
| Python | '\N{EM DASH}' or chr(8212) |
| Rust | '\u{2014}' |
| C / C++ | UTF-8 source or wchar_t with U+2014 |
| Go | string(rune(0x2014)) |
| Ruby | "\u{2014}" |