―
Copy to Clipboard
HORIZONTAL BAR
General information
| ID | 8213 |
| HEX | 2015 |
| Char | ― |
| Char type | Dash_Punctuation |
| Unicode name | HORIZONTAL BAR |
| Extended name | HORIZONTAL BAR |
| Unicode group | General Punctuation |
| Unicode Code Point | U+2015 |
Conversion (How to escape ―)
| HTML Entity (decimal) | ― |
| HTML Entity (hex) | ― |
| URL Encoded | %E2%80%95 |
| C / C++ / Java | "\u2015" |
| Javascript (UTF-16) | "\u2015" |
| Javascript | "\u{2015}" |
| Python | u"\u2015" |
| CSS | \2015 |
| CSS | \002015 |
How to type ―
| Microsoft Office | write 2015 then press Alt + X |
| Microsoft Office (alternative) | write U+2015 then press Alt + X |
| Apple Mac | Hold Alt, type 2 0 1 5 then release |
| Apple Mac (alternative) | Hold Option, type 2 0 1 5 then release |
| Unix GTK | Hold Ctrl + Shift, type u 2 0 1 5, then release. |
| Unix GTK (Alternative) | Press Ctrl + Shift + u, type 2 0 1 5, then press Enter. |
UTF Encodings
| UTF-8 (hex) | E2 80 95 |
| UTF-8 (octal) | 342 200 225 |
| UTF-8 (binary) | 11100010 10000000 10010101 |
| UTF-16 (hex) | 20 15 |
| UTF-16 (octal) | 40 25 |
| UTF-16 (binary) | 00100000 00010101 |
| UTF-32 (hex) | 00 00 20 15 |
| UTF-32 (octal) | 000 000 020 025 |
| UTF-32 (binary) | 00000000 00000000 00100000 00010101 |
IMAGE