WritingU+2010 · General Punctuation
‐
Hyphen
U+2010 · decimal 8208 · General Punctuation
Every way to write it
6 formsHTML entity
‐
This character has no named entity, so the numeric form is the one to use.
CSS content
\2010
For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.
JavaScript
\u2010
Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.
Python
\u2010
The escape for a Python string literal.
URL
%E2%80%90
Percent-encoded UTF-8, for a query string or a path segment.
UTF-8 bytes
E2 80 90
3 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.
Typing it without copying
system pickermacOS
Control + Command + Space, then search hyphen
Windows
Character Map or Alt + 8208
Groups it belongs to
Characters near it
8Code pointU+2010
EntityNumeric
UTF-83 bytes
ASCIINo