Unicode Character "―" U+2015 Horizontal Bar

Unicode Version 15.1

Summary

The unicode character "―" at code point U+2015 is Horizontal Bar. It is a character in the General Punctuation block and is part of the Common script. The character is a dash punctuation. The UTF-8 encoding of "―" is 0xE2 0x80 0x95 and the UTF-16 encoding is 0x2015.

General Properties

Code Point U+2015
Version Added 1.1
Name Horizontal Bar
Unicode 1.0 Name Quotation Dash
Block General Punctuation
General Category Dash Punctuation
Canonical Combining Class Not Reordered
Bidirectional Class Other Neutral

Encodings

HTML Entity ―
HTML Decimal Encoding ―
HTML Hex Encoding ―
UTF-8 Encoding 0xE2 0x80 0x95
UTF-16 Encoding 0x2015
UTF-32 Encoding 0x00002015
C/C++/Java Escape \u2015

Unicode Properties

NFC Quick Check Yes
NFD Quick Check Yes
NFKC Quick Check Yes
NFKD Quick Check Yes
Numeric Type None
Numeric Value NaN
Line Break Ambiguous (Alphabetic or Ideographic)
East Asian Width Ambiguous
Script Common
Script Extensions Common
Indic Syllabic Category Other
Pattern Syntax Yes
Dash Yes
Vertical Orientation Rotated
Grapheme Base Yes
Grapheme Cluster Break Other
Word Break Other
Sentence Break Other