This character is a Other Symbol and is commonly used, that is, in no specific script.
The glyph is not a composition. It has no designated width in East Asian texts. In bidirectional text it acts as Other Neutral. When changing direction it is not mirrored. The word that U+2662 forms with similar adjacent characters prevents a line break inside it. The glyph can be confused with one other glyph.
The Wikipedia has the following information about this codepoint:
Diamonds () (French: Carreau) is one of the four playing card suits in the standard French-suited playing cards. Diamonds along with the other French suits were invented in around 1480. It is the only French suit to not have been adapted from the German deck, taking the place of the suit of Bells. There was one early French pack that used crescents instead of diamonds, which may explain this anomaly. Rough coloring techniques on the red stripe on the German bells may have caused the circles to appear as irregularly shaped dots, and French cardmakers may have decided to drop the details and straighten out the sides.
Representations
System
Representation (click value to copy)
Nº
9826
UTF-8
E2 99 A2
UTF-16
26 62
UTF-32
00 00 26 62
URL-Quoted
%E2%99%A2
HTML hex reference
♢
Wrong windows-1252 Mojibake
♢
Encoding: EUC_JIS_2004 (hex bytes)
A6 BB
Encoding: EUC_JISX0213 (hex bytes)
A6 BB
Encoding: GB18030 (hex bytes)
81 37 AC 30
Encoding: ISO2022_JP_2004 (hex bytes)
1B 24 28 51 26 3B 1B 28 42
Encoding: ISO2022_JP_3 (hex bytes)
1B 24 28 4F 26 3B 1B 28 42
Encoding: SHIFT_JIS_2004 (hex bytes)
83 B9
Encoding: SHIFT_JISX0213 (hex bytes)
83 B9
LATEX
\diamond
Adobe Glyph List
diamondsuitwhite
digraph
cD
RFC 5137
\u'2662'
Bash and Zsh inside echo -e
\u2662
C and C++
\u2662
C#
\u2662
CSS
\002662
Excel
=UNICHAR(9826)
Go
\u2662
JavaScript
\u2662
Modern JavaScript since ES6
\u{2662}
JSON
\u2662
Java
\u2662
Lua
\u{2662}
Matlab
char(9826)
Perl
"\x{2662}"
PHP
\u{2662}
PostgreSQL
U&'\2662'
PowerShell
`u{2662}
Python
\u2662
Ruby
\u{2662}
Rust
\u{2662}
Click the star button next to each label to set this representation as favorite or remove it from the favorites. Favorites will be shown initially. (Favorites are stored locally on your computer and never sent over the internet.)