HORIZONTAL BAR

U+2015 Dash Punctuation (Pd) · General Punctuation · Zyyy

Encoding Table

Format Value Copy
unicode U+2015
decimal 8213
htmldecimal ―
htmlhex ―
css \2015
javascript \u{2015}
python \u2015
java \u2015
go \u2015
ruby \u{2015}
rust \u{2015}
ccpp \u2015
urlencoded %E2%80%95
utf8bytes e2 80 95
utf16bebytes 20 15
utf32bebytes 00 00 20 15

How to Use

HTML: ―
CSS: content: "\2015"
JavaScript: "\u{2015}"
Python: "\u2015"

Properties

Script
Zyyy
Category
Dash Punctuation (Pd)
Bidirectional
ON
Combining
0
Mirrored
No
← — U+2014 U+2016 ‖ →

Frequently Asked Questions

What is the ― character (HORIZONTAL BAR)?

― (HORIZONTAL BAR) is the Unicode character U+2015.

What is the Unicode codepoint of HORIZONTAL BAR?

The HORIZONTAL BAR character (―) has codepoint U+2015.

How do I type or copy HORIZONTAL BAR?

Copy ― directly, or use the HTML entity, UTF-8, and code encodings shown on this page.