unicode

―

U+2015

HORIZONTAL BAR

HORIZONTAL BAR · Dash Punctuation · General Punctuation · Common script

Quick facts

Code point
U+2015
Decimal
8213
Name
HORIZONTAL BAR
General category
Pd — Dash Punctuation
Script
Common
Bidi class
ON
Combining class
0
Age
1.1
Name aliases
—

Normalization & case

Decomposition
—
Uppercase
—
Lowercase
—
Titlecase
—
Case folding
—
Bidi mirrored
No

Layout & width

East Asian Width
A
Line Break
AI
Numeric
—
Script extensions
—

Binary properties

Dash

Developer examples

JS
'\u{2015}' // U+2015
Python
"\N{HORIZONTAL BAR}"
HTML
―

Encodings & escapes

UTF-8
UTF-16
UTF-32
HTML decimal
HTML hex
HTML named
JavaScript
Python
CSS
JSON
URL (UTF-8)
C / C++

Related

Source

Unicode
16.0.0
WHATWG
—