-



Copy to Clipboard

HYPHEN-MINUS

General information

ID 45
HEX 2d
Char -
Unicode name HYPHEN-MINUS
Char type SURROGATE
Unicode group Basic Latin
Unicode Code Point U+2D

Conversion (How to escape -)

HTML Entity (decimal) -
HTML Entity (hex) -
URL Encoded %2D
C / C++ / Java "\u2D"
Javascript (ASCII) "\x2D"
Javascript (UTF-16) "\u002D"
Javascript "\u{2D}"
Python u"\u2D"
CSS \2D
CSS \00002D

How to type -

Microsoft Windows ALT code Alt + 45
Microsoft Office write 2d then press Alt + X
Microsoft Office (alternative) write U+2d then press Alt + X
Apple Mac Hold Alt, type 2 D then release
Apple Mac (alternative) Hold Option, type 2 D then release

UTF Encodings

UTF-8 (hex) 0x2D
UTF-8 (octal) 55
UTF-8 (binary) 00101101
UTF-16 (hex) 0x002D
UTF-16 (decimal) 45
UTF-16 (binary) 00000000 00101101
UTF-32 (hex) 0x0000002D
UTF-32 (decimal) 45
UTF-32 (binary) 00000000 00000000 00000000 00101101

IMAGE