All representations
| Format | Value |
|---|
| Name | DC2 – Device control 2 |
| Decimal | 18 |
| Hexadecimal | 0x12 |
| Octal | 022 |
| Binary | 00010010 |
| HTML numeric entity |  /  |
| Unicode code point | U+0012 |
| URL encoded | %12 |
| UTF-8 bytes | 12 (one byte, same as ASCII) |
Notes
- Ctrl+R produces this code in many terminals (caret notation
^R). - Caret notation:
^R.
Nearby codes
| Dec | Hex | Char | Name |
|---|
| 16 | 10 | DLE | DLE – Data link escape |
| 17 | 11 | DC1 | DC1 – Device control 1 (XON) |
| 19 | 13 | DC3 | DC3 – Device control 3 (XOFF) |
| 20 | 14 | DC4 | DC4 – Device control 4 |
Get this code in code
JavaScript String.fromCharCode(18)
Python chr(18)
C (char)18