❖ is the Unicode character BLACK DIAMOND MINUS WHITE X, code point U+2756 (decimal 10070) in the Dingbats block, added in Unicode 1.1. In HTML write ❖, and in UTF-8 it is the 3 bytes E2 9D 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2756 |
| Decimal | 10070 |
| UTF-8 bytes | E2 9D 96 |
| UTF-16 (big-endian) | 2756 |
| UTF-32 | 00002756 |
| HTML decimal | ❖ |
| HTML hex | ❖ |
| CSS | \2756 |
| JavaScript | \u2756 |
| JSON | \u2756 |
| Python | \u2756 |
| Python by name | \N{BLACK DIAMOND MINUS WHITE X} |
| Java, C# | \u2756 |
| Rust, Swift | \u{2756} |
| Go, C, C++ | \u2756 |
| URL (percent-encoded) | %E2%9D%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 | BLACK DIAMOND MINUS WHITE X |
| Code point | U+2756 (decimal 10070) |
| Block | Dingbats (U+2700–U+27BF) |
| 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 Dingbats
- ❎ U+274E Cross mark button
- ❏ U+274F Lower Right Drop-Shadowed White Square
- ❐ U+2750 Upper Right Drop-Shadowed White Square
- ❑ U+2751 Lower Right Shadowed White Square
- ❒ U+2752 Upper Right Shadowed White Square
- ❓ U+2753 Red question mark
- ❔ U+2754 White question mark
- ❕ U+2755 White exclamation mark
- ❗ U+2757 Red exclamation mark
- ❘ U+2758 Light Vertical Bar
- ❙ U+2759 Medium Vertical Bar
- ❚ U+275A Heavy Vertical Bar
- ❛ U+275B Heavy Single Turned Comma Quotation Mark Ornament
- ❜ U+275C Heavy Single Comma Quotation Mark Ornament
- ❝ U+275D Heavy Double Turned Comma Quotation Mark Ornament
- ❞ U+275E Heavy Double Comma Quotation Mark Ornament
All 192 characters: Dingbats.
Official reference
Questions people ask
- What is the HTML code for ❖?
- Use ❖ (decimal) or ❖ (hex).
- What is the UTF-8 encoding of U+2756?
- E2 9D 96 (hex), 3 bytes. In a URL it is %E2%9D%96.
- How do I write U+2756 in JavaScript or Python?
- JavaScript: \u2756. Python: \u2756.
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