DevKits

ASCII 26

Substitute (SUB)

Control character

Sent by Ctrl+Z on Unix (suspend process). On Windows, Ctrl+Z at the start of a line signals EOF.

All encodings at a glance

Decimal26
Hexadecimal0x1A
Octal0032
Binary00011010
HTML numeric entity
URL encoding%1A
UTF-8 bytes0x1A

Code snippets

JavaScript

String.fromCharCode(26); // "SUB"
26.toString(16); // "1a"

Python

chr(26)           # control char SUB
ord(chr(26))      # 26
hex(26)           # '0x1a'

HTML

&#26;   <!-- numeric entity (no named entity for this character) -->

Nearby codes