ASCII 1
Start of Heading (SOH)
Control character
Legacy telegraphy control code; unused in modern protocols.
All encodings at a glance
| Decimal | 1 |
| Hexadecimal | 0x01 |
| Octal | 0001 |
| Binary | 00000001 |
| HTML numeric entity |  |
| URL encoding | %01 |
| UTF-8 bytes | 0x01 |
Code snippets
JavaScript
String.fromCharCode(1); // "SOH"
1.toString(16); // "01"Python
chr(1) # control char SOH
ord(chr(1)) # 1
hex(1) # '0x01'HTML
 <!-- numeric entity (no named entity for this character) -->