≔ is the Unicode character COLON EQUALS, code point U+2254 (decimal 8788) in the Mathematical Operators block, added in Unicode 1.1. In HTML write ≔, and in UTF-8 it is the 3 bytes E2 89 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2254 |
| Decimal | 8788 |
| UTF-8 bytes | E2 89 94 |
| UTF-16 (big-endian) | 2254 |
| UTF-32 | 00002254 |
| HTML decimal | ≔ |
| HTML hex | ≔ |
| HTML named | ≔ ≔ ≔ |
| CSS | \2254 |
| JavaScript | \u2254 |
| JSON | \u2254 |
| Python | \u2254 |
| Python by name | \N{COLON EQUALS} |
| Java, C# | \u2254 |
| Rust, Swift | \u{2254} |
| Go, C, C++ | \u2254 |
| URL (percent-encoded) | %E2%89%94 |
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 | COLON EQUALS |
| Code point | U+2254 (decimal 8788) |
| 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+224C All Equal To
- ≍ U+224D Equivalent To
- ≎ U+224E Geometrically Equivalent To
- ≏ U+224F Difference Between
- ≐ U+2250 Approaches The Limit
- ≑ U+2251 Geometrically Equal To
- ≒ U+2252 Approximately Equal To Or The Image Of
- ≓ U+2253 Image Of Or Approximately Equal To
- ≕ U+2255 Equals Colon
- ≖ U+2256 Ring In Equal To
- ≗ U+2257 Ring Equal To
- ≘ U+2258 Corresponds To
- ≙ U+2259 Estimates
- ≚ U+225A Equiangular To
- ≛ U+225B Star Equals
- ≜ U+225C Delta Equal To
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+2254?
- E2 89 94 (hex), 3 bytes. In a URL it is %E2%89%94.
- How do I write U+2254 in JavaScript or Python?
- JavaScript: \u2254. Python: \u2254.
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