‑
U+2011 · NON-BREAKING HYPHEN
Non-Breaking Hyphen
| UTF-8 | E2 80 91 | 3 bytes |
|---|---|---|
| UTF-16 | 2011 | 1 code unit |
| UTF-32 | 00002011 | 4 bytes |
| HTML decimal | ‑ | |
| HTML hex | ‑ | |
| CSS | \2011 | in content: "…" |
| JavaScript | \u2011 | |
| JSON | \u2011 | |
| Python | \u2011 | |
| Python | \N{NON-BREAKING HYPHEN} | by name |
| Java / C# | \u2011 | |
| C / C++ | \u2011 | universal character name |
| Rust / Swift / PHP | \u{2011} | |
| Go | \u2011 | |
| Ruby | \u2011 | |
| Excel / Sheets | =UNICHAR(8209) | |
| URL-encoded | %E2%80%91 | 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+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