Copy to Clipboard

HORIZONTAL BAR

General information

ID 8213
HEX 2015
Char
Char type SURROGATE
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 %26%238213%3B
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

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

HORIZONTAL BAR General Punctuation Unicode U+2015 HORIZONTAL BAR General Punctuation Unicode U+2015