◈ is the Unicode character WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND, code point U+25C8 (decimal 9672) in the Geometric Shapes block, added in Unicode 1.1. In HTML write ◈, and in UTF-8 it is the 3 bytes E2 97 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+25C8 |
| Decimal | 9672 |
| UTF-8 bytes | E2 97 88 |
| UTF-16 (big-endian) | 25C8 |
| UTF-32 | 000025C8 |
| HTML decimal | ◈ |
| HTML hex | ◈ |
| CSS | \25C8 |
| JavaScript | \u25C8 |
| JSON | \u25C8 |
| Python | \u25C8 |
| Python by name | \N{WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND} |
| Java, C# | \u25C8 |
| Rust, Swift | \u{25C8} |
| Go, C, C++ | \u25C8 |
| URL (percent-encoded) | %E2%97%88 |
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 | WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND |
| Code point | U+25C8 (decimal 9672) |
| Block | Geometric Shapes (U+25A0–U+25FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Geometric Shapes
- ◀ U+25C0 Reverse button
- ◁ U+25C1 White Left-Pointing Triangle
- ◂ U+25C2 Black Left-Pointing Small Triangle
- ◃ U+25C3 White Left-Pointing Small Triangle
- ◄ U+25C4 Black Left-Pointing Pointer
- ◅ U+25C5 White Left-Pointing Pointer
- ◆ U+25C6 Black Diamond
- ◇ U+25C7 White Diamond
- ◉ U+25C9 Fisheye
- ◊ U+25CA Lozenge
- ○ U+25CB White Circle
- ◌ U+25CC Dotted Circle
- ◍ U+25CD Circle With Vertical Fill
- ◎ U+25CE Bullseye
- ● U+25CF Black Circle
- ◐ U+25D0 Circle With Left Half Black
All 96 characters: Geometric Shapes.
Official reference
Questions people ask
- What is the HTML code for ◈?
- Use ◈ (decimal) or ◈ (hex).
- What is the UTF-8 encoding of U+25C8?
- E2 97 88 (hex), 3 bytes. In a URL it is %E2%97%88.
- How do I write U+25C8 in JavaScript or Python?
- JavaScript: \u25C8. Python: \u25C8.
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