⬗ is the Unicode character DIAMOND WITH RIGHT HALF BLACK, code point U+2B17 (decimal 11031) in the Miscellaneous Symbols and Arrows block, added in Unicode 5.0. In HTML write ⬗, and in UTF-8 it is the 3 bytes E2 AC 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2B17 |
| Decimal | 11031 |
| UTF-8 bytes | E2 AC 97 |
| UTF-16 (big-endian) | 2B17 |
| UTF-32 | 00002B17 |
| HTML decimal | ⬗ |
| HTML hex | ⬗ |
| CSS | \2B17 |
| JavaScript | \u2B17 |
| JSON | \u2B17 |
| Python | \u2B17 |
| Python by name | \N{DIAMOND WITH RIGHT HALF BLACK} |
| Java, C# | \u2B17 |
| Rust, Swift | \u{2B17} |
| Go, C, C++ | \u2B17 |
| URL (percent-encoded) | %E2%AC%97 |
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 | DIAMOND WITH RIGHT HALF BLACK |
| Code point | U+2B17 (decimal 11031) |
| Block | Miscellaneous Symbols and Arrows (U+2B00–U+2BFF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Miscellaneous Symbols and Arrows
- ⬏ U+2B0F Rightwards Arrow With Tip Upwards
- ⬐ U+2B10 Leftwards Arrow With Tip Downwards
- ⬑ U+2B11 Leftwards Arrow With Tip Upwards
- ⬒ U+2B12 Square With Top Half Black
- ⬓ U+2B13 Square With Bottom Half Black
- ⬔ U+2B14 Square With Upper Right Diagonal Half Black
- ⬕ U+2B15 Square With Lower Left Diagonal Half Black
- ⬖ U+2B16 Diamond With Left Half Black
- ⬘ U+2B18 Diamond With Top Half Black
- ⬙ U+2B19 Diamond With Bottom Half Black
- ⬚ U+2B1A Dotted Square
- ⬛ U+2B1B Black large square
- ⬜ U+2B1C White large square
- ⬝ U+2B1D Black Very Small Square
- ⬞ U+2B1E White Very Small Square
- ⬟ U+2B1F Black Pentagon
All 254 characters: Miscellaneous Symbols and Arrows.
Official reference
Questions people ask
- What is the HTML code for ⬗?
- Use ⬗ (decimal) or ⬗ (hex).
- What is the UTF-8 encoding of U+2B17?
- E2 AC 97 (hex), 3 bytes. In a URL it is %E2%AC%97.
- How do I write U+2B17 in JavaScript or Python?
- JavaScript: \u2B17. Python: \u2B17.
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