∖ is the Unicode character SET MINUS, code point U+2216 (decimal 8726) in the Mathematical Operators block, added in Unicode 1.1. In HTML write ∖, and in UTF-8 it is the 3 bytes E2 88 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2216 |
| Decimal | 8726 |
| UTF-8 bytes | E2 88 96 |
| UTF-16 (big-endian) | 2216 |
| UTF-32 | 00002216 |
| HTML decimal | ∖ |
| HTML hex | ∖ |
| HTML named | ∖ ∖ ∖ ∖ |
| CSS | \2216 |
| JavaScript | \u2216 |
| JSON | \u2216 |
| Python | \u2216 |
| Python by name | \N{SET MINUS} |
| Java, C# | \u2216 |
| Rust, Swift | \u{2216} |
| Go, C, C++ | \u2216 |
| URL (percent-encoded) | %E2%88%96 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | SET MINUS |
| Code point | U+2216 (decimal 8726) |
| Block | Mathematical Operators (U+2200–U+22FF) |
| General category | Sm: Math symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | Yes |
| First in Unicode version | 1.1 |
Nearby in Mathematical Operators
- ∎ U+220E End Of Proof
- ∏ U+220F N-Ary Product
- ∐ U+2210 N-Ary Coproduct
- ∑ U+2211 N-Ary Summation
- − U+2212 Minus Sign
- ∓ U+2213 Minus-Or-Plus Sign
- ∔ U+2214 Dot Plus
- ∕ U+2215 Division Slash
- ∗ U+2217 Asterisk Operator
- ∘ U+2218 Ring Operator
- ∙ U+2219 Bullet Operator
- √ U+221A Square Root
- ∛ U+221B Cube Root
- ∜ U+221C Fourth Root
- ∝ U+221D Proportional To
- ∞ U+221E Infinity
All 256 characters: Mathematical Operators.
Official reference
Questions people ask
- What is the HTML code for ∖?
- Use the named entity ∖, or ∖ (decimal) or ∖ (hex).
- What is the UTF-8 encoding of U+2216?
- E2 88 96 (hex), 3 bytes. In a URL it is %E2%88%96.
- How do I write U+2216 in JavaScript or Python?
- JavaScript: \u2216. Python: \u2216.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in