ASCII 21
Negative Acknowledge (NAK)
Control character
Used in some binary protocols to indicate a failed transmission.
All encodings at a glance
| Decimal | 21 |
| Hexadecimal | 0x15 |
| Octal | 0025 |
| Binary | 00010101 |
| HTML numeric entity |  |
| URL encoding | %15 |
| UTF-8 bytes | 0x15 |
Code snippets
JavaScript
String.fromCharCode(21); // "NAK"
21.toString(16); // "15"Python
chr(21) # control char NAK
ord(chr(21)) # 21
hex(21) # '0x15'HTML
 <!-- numeric entity (no named entity for this character) -->