-
Copy to Clipboard
HYPHEN-MINUS
General information
| ID | 45 |
| HEX | 2d |
| Char | - |
| Char type | SURROGATE |
| Unicode name | HYPHEN-MINUS |
| Extended name | HYPHEN-MINUS |
| 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 |
| Unix GTK | Hold Ctrl + Shift, type u 2 D, then release. |
| Unix GTK (Alternative) | Press Ctrl + Shift + u, type 2 D, then press Enter. |
UTF Encodings
| UTF-8 (hex) | 2D |
| UTF-8 (octal) | 55 |
| UTF-8 (binary) | 00101101 |
| UTF-16 (hex) | 00 2D |
| UTF-16 (octal) | 0 55 |
| UTF-16 (binary) | 00000000 00101101 |
| UTF-32 (hex) | 00 00 00 2D |
| UTF-32 (octal) | 000 000 000 055 |
| UTF-32 (binary) | 00000000 00000000 00000000 00101101 |
IMAGE