<control-0002>

General information

ID 2
HEX 2
Char 
Unicode name <control-0002>
Unicode group Basic Latin
Unicode Code Point U+2

Conversion

HTML Entity (decimal) &#2;
HTML Entity (hex) &#x2;
C / C++ / Java "\u2"
Python u"\u2"

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) 0x02
UTF-8 (octal) 2
UTF-8 (binary) 00000010
UTF-16 (hex) 0x0002
UTF-16 (decimal) 2
UTF-32 (hex) 0x00000002
UTF-32 (decimal) 2
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. To find out more about the cookies we use, see our Privacy Policy.