Back
Asciify Logo
Asciify

End Of Medium

EM (End of Medium) is ASCII code point 25 (0x19), Unicode U+0019. It is a C0 control character that marked the physical end of usable storage on a paper tape, punched card deck, or magnetic tape reel — telling the reader to stop because no valid data followed. Ctrl+Y emits 0x19, and DOS repurposed that keystroke as a "copy from template" editing function in its command-line input buffer. In modern contexts EM has no standard protocol role, but it occasionally surfaces in embedded systems as a custom end-of-data sentinel in firmware update streams or flash memory layouts where a lightweight boundary marker is needed without introducing a full framing protocol. UTF-8 encodes it as the single byte 0x19; Unicode classifies it as Cc (Control) with the alias END OF MEDIUM.

Symbol

Technical Details

Code Example

</>
char msg[] = "HDR\x19BODY\x19TRL";
// EM (0x19) acts as an in-band boundary
char *p = strtok(msg, "\x19"); // iterate segments: HDR, BODY, TRL

Frequently Asked Questions

  • EM (ASCII 25) originally signaled the physical end of a storage medium — the last usable spot on a paper tape or magnetic strip. It told the reader 'there's no more data beyond this point, even if there are more bytes.'

  • Not in its original sense. Physical media no longer use marker bytes to signal their end — file systems and length headers handle that. You might encounter EM in legacy data formats or when analyzing old archived data.

  • Ctrl+Y sends EM (ASCII 25). In modern terminals this is usually intercepted for 'redo' or 'yank' (paste from kill ring in emacs-style line editing), so the raw EM byte almost never reaches programs.

  • Strip it. EM is a non-printable control character with no standard meaning in modern text processing. If it appears in user-submitted content, it's unintentional or potentially malicious. Include it in your control character sanitization filter.

@workani&@alexluthor
Privacy & legal

Privacy

No accounts, no ads, no tracking cookies, and no cross-site tracking. The only analytics we keep are faceless — anonymous, aggregated counts of pages and searches, never tied to you. We store no IP addresses, set no tracking cookies, and build no profiles. Cloudflare hosts the site and handles requests for delivery and security.

Full privacy policy·Extension privacy·legal@asciify.dev

Attributions & licenses

Twemoji
© Twitter, Inc and other contributors · CC-BY 4.0
Noto Color Emoji
© Google · Apache 2.0
Fluent UI Emoji
© Microsoft · MIT
OpenMoji
© HfG Schwäbisch Gmünd · CC-BY-SA 4.0
Toss Face
© Viva Republica (Toss) · SIL OFL 1.1
JoyPixels
© JoyPixels Inc. · Free Limited Use License
SerenityOS Emoji
© The SerenityOS Developers · BSD-2-Clause
EmojiTwo
© EmojiTwo contributors · CC-BY 4.0
Apple Color Emoji
© Apple, Inc.
Facebook Emoji
© Meta Platforms, Inc.

Apple and Facebook emoji styles are proprietary and shown here solely for reference and comparison — a common-sense application of nominative-use / fair-use principles. asciify is not affiliated with, endorsed by, or sponsored by Apple, Inc., Meta Platforms, Inc., or any other rights holder listed above. If a rights holder requests removal of their emoji style from this site, it will be removed.

All other vendor emoji are reproduced for reference and comparison under their respective open licenses listed above.

Character names and code points from the Unicode® Standard. Unicode® and the Unicode Logo are registered trademarks of Unicode, Inc.

Privacy
© asciify.dev 2025-2026