−
U+2212 · MINUS SIGN
Minus Sign
| UTF-8 | E2 88 92 | 3 bytes |
|---|---|---|
| UTF-16 | 2212 | 1 code unit |
| UTF-32 | 00002212 | 4 bytes |
| HTML named | − | named character reference |
| HTML decimal | − | |
| HTML hex | − | |
| CSS | \2212 | in content: "…" |
| JavaScript | \u2212 | |
| JSON | \u2212 | |
| Python | \u2212 | |
| Python | \N{MINUS SIGN} | by name |
| Java / C# | \u2212 | |
| C / C++ | \u2212 | universal character name |
| Rust / Swift / PHP | \u{2212} | |
| Go | \u2212 | |
| Ruby | \u2212 | |
| Excel / Sheets | =UNICHAR(8722) | |
| URL-encoded | %E2%88%92 | 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+2010‐Hyphen
U+2011‑Non-Breaking Hyphen
U+2012‒Figure Dash
U+2013–En Dash
U+2043⁃Hyphen Bullet
U+2796➖Minus
U+FE58﹘Small Em Dash
U+2CBAⲺCoptic Capital Letter Dialect-P Ni
§