| Nombre del símbolo | Em Dash |
| Versión Unicode | 1.1 |
| Unicode | U+2014 |
| Bloque Unicode | |
| Categoría general | Dash Punctuation (Pd) |
| Código CSS | \2014 |
| Código hexadecimal | 0x2014 |
| Código HTML | — |
| LaTeX | --- |
| Símbolo | — |
| Codificación URL (porcentaje UTF-8) | %E2%80%94 |
| Nombre oral / lector de pantalla | Em Dash |
| UTF-8 | E2 80 94 |
| UTF-16 | 2014 |
| UTF-32 | 00002014 |
1\documentclass{article}2\usepackage{pifont}3---4\end{document}Puedes escribir el símbolo em dash en la mayoría de dispositivos modernos con los siguientes métodos:
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 representación del símbolo Em Dash en diferentes lenguajes de programación se muestra en la tabla:
| Lenguaje | Representación |
|---|---|
| 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}" |