Em Dash ASCII Code Symbol

ASCII 151

ASCII Character

Em Dash

ASCII byte 151 (0x97) — Unicode U+2014. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.

How to type —

Windows

  1. Copy with the Copy Symbol button above and paste it anywhere.
  2. In HTML, use — or hex —.
  3. In JavaScript, use String.fromCharCode(151).

Mac

  1. Copy with the Copy Symbol button and paste it (fastest method).
  2. Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
  3. Select Unicode Hex Input from the menu bar input menu.
  4. Hold Option (⌥), type 2014 (from U+2014), then release Option.
  5. Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.
  6. In HTML on Mac editors, you can also paste —.

Linux

  1. Copy with the Copy Symbol button and paste it.
  2. Press Ctrl + Shift + U, type 2014 (from U+2014), then press Enter or Space.
  3. On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
  4. In HTML, use —.

ASCII character details

Parameter Value Copy
Symbol
Symbol Name Em Dash
ASCII Decimal 151
ASCII Hex 0x97
Unicode Code U+2014
HTML Decimal Code —
HTML Hex Code —
HTML Entity —
CSS Code \2014
JavaScript Code \u2014
Category ASCII Extended / Windows-1252 (128–255)

FAQs about Em Dash ASCII Code Symbol

What is the ASCII code for Em Dash ASCII Code Symbol?

ASCII decimal 151, hex 0x97, Unicode U+2014.

How do I copy —?

Click Copy Symbol on this page to copy the character directly.

How do I type ASCII 151 in JavaScript?

Use String.fromCharCode(151) to output this character in JavaScript.

About this ASCII Character

Extended ASCII byte 151 (0x97, U+2014) is em dash. Part of the complete extended ASCII table (Windows-1252, 128–255).

Tags: em-dash,ascii,extended-ascii,151,0×97,U+2014,ascii table,copy symbol

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top