All representations
| Format | Value |
|---|---|
| Name | EOT – End of transmission |
| Decimal | 4 |
| Hexadecimal | 0x04 |
| Octal | 04 |
| Binary | 00000100 |
| HTML numeric entity |  /  |
| Unicode code point | U+0004 |
| URL encoded | %04 |
| UTF-8 bytes | 04 (one byte, same as ASCII) |
Notes
- Ctrl+D produces this code in many terminals (caret notation
^D). - Caret notation:
^D.
Nearby codes
| Dec | Hex | Char | Name |
|---|---|---|---|
| 2 | 02 | STX | STX – Start of text |
| 3 | 03 | ETX | ETX – End of text |
| 5 | 05 | ENQ | ENQ – Enquiry |
| 6 | 06 | ACK | ACK – Acknowledge |
Get this code in code
JavaScript String.fromCharCode(4) Python chr(4) C (char)4