Copy to Clipboard
<control-0002>
General information
ID | 2 |
HEX | 2 |
Char | |
Char type | PARAGRAPH SEPARATOR |
Unicode name | <control-0002> |
Extended name | <control-0002> |
Unicode group | Basic Latin |
Unicode Code Point | U+2 |
Conversion (How to escape )
HTML Entity (decimal) |  |
HTML Entity (hex) |  |
URL Encoded | %2 |
C / C++ / Java | "\u2" |
Javascript (ASCII) | "\x2" |
Javascript (UTF-16) | "\u0002" |
Javascript | "\u{2}" |
Python | u"\u2" |
CSS | \2 |
CSS | \000002 |
How to type
Microsoft Windows ALT code | Alt + 2 |
Microsoft Office | write 2 then press Alt + X |
Microsoft Office (alternative) | write U+2 then press Alt + X |
Apple Mac | Hold Alt, type 2 then release |
Apple Mac (alternative) | Hold Option, type 2 then release |
UTF Encodings
UTF-8 (hex) | 02 |
UTF-8 (octal) | 2 |
UTF-8 (binary) | 00000010 |
UTF-16 (hex) | 00 02 |
UTF-16 (octal) | 0 2 |
UTF-16 (binary) | 00000000 00000010 |
UTF-32 (hex) | 00 00 00 02 |
UTF-32 (octal) | 000 000 000 002 |
UTF-32 (binary) | 00000000 00000000 00000000 00000010 |