‐
U+2010 · HYPHEN
Hyphen
| UTF-8 | E2 80 90 | 3 bytes |
|---|---|---|
| UTF-16 | 2010 | 1 code unit |
| UTF-32 | 00002010 | 4 bytes |
| HTML named | ‐ | named character reference |
| HTML named | ‐ | named character reference |
| HTML decimal | ‐ | |
| HTML hex | ‐ | |
| CSS | \2010 | in content: "…" |
| JavaScript | \u2010 | |
| JSON | \u2010 | |
| Python | \u2010 | |
| Python | \N{HYPHEN} | by name |
| Java / C# | \u2010 | |
| C / C++ | \u2010 | universal character name |
| Rust / Swift / PHP | \u{2010} | |
| Go | \u2010 | |
| Ruby | \u2010 | |
| Excel / Sheets | =UNICHAR(8208) | |
| URL-encoded | %E2%80%90 | percent-encoded UTF-8 |
§
Looks similar
Characters that Unicode’s security data (UTS #39 confusables) lists as visually confusable with this one. Useful for spotting lookalike spoofing in URLs and usernames.
U+002D-Hyphen-Minus
U+02D7˗Modifier Letter Minus Sign
U+06D4۔Arabic Full Stop
U+2011‑Non-Breaking Hyphen
U+2012‒Figure Dash
U+2013–En Dash
U+2043⁃Hyphen Bullet
U+2212−Minus Sign
U+2796➖Minus
U+FE58﹘Small Em Dash
U+2CBAⲺCoptic Capital Letter Dialect-P Ni
§