≺ is the Unicode character PRECEDES, code point U+227A (decimal 8826) in the Mathematical Operators block, added in Unicode 1.1. In HTML write ≺, and in UTF-8 it is the 3 bytes E2 89 BA.
Codes
| Where | How to write it |
|---|---|
| Code point | U+227A |
| Decimal | 8826 |
| UTF-8 bytes | E2 89 BA |
| UTF-16 (big-endian) | 227A |
| UTF-32 | 0000227A |
| HTML decimal | ≺ |
| HTML hex | ≺ |
| HTML named | ≺ ≺ ≺ |
| CSS | \227A |
| JavaScript | \u227A |
| JSON | \u227A |
| Python | \u227A |
| Python by name | \N{PRECEDES} |
| Java, C# | \u227A |
| Rust, Swift | \u{227A} |
| Go, C, C++ | \u227A |
| URL (percent-encoded) | %E2%89%BA |
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 | PRECEDES |
| Code point | U+227A (decimal 8826) |
| 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+2272 Less-Than Or Equivalent To
- ≳ U+2273 Greater-Than Or Equivalent To
- ≴ U+2274 Neither Less-Than Nor Equivalent To
- ≵ U+2275 Neither Greater-Than Nor Equivalent To
- ≶ U+2276 Less-Than Or Greater-Than
- ≷ U+2277 Greater-Than Or Less-Than
- ≸ U+2278 Neither Less-Than Nor Greater-Than
- ≹ U+2279 Neither Greater-Than Nor Less-Than
- ≻ U+227B Succeeds
- ≼ U+227C Precedes Or Equal To
- ≽ U+227D Succeeds Or Equal To
- ≾ U+227E Precedes Or Equivalent To
- ≿ U+227F Succeeds Or Equivalent To
- ⊀ U+2280 Does Not Precede
- ⊁ U+2281 Does Not Succeed
- ⊂ U+2282 Subset Of
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+227A?
- E2 89 BA (hex), 3 bytes. In a URL it is %E2%89%BA.
- How do I write U+227A in JavaScript or Python?
- JavaScript: \u227A. Python: \u227A.
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