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+2654 forms with similar adjacent characters prevents a line break inside it.
The Wikipedia has the following information about this codepoint:
The king (♔, ♚) is the most important piece in the game of chess. It may move to any adjoining square; it may also perform, in tandem with the rook, a special move called castling. If a player's king is threatened with capture, it is said to be in check, and the player must remove the threat of capture immediately. If this cannot be done, the king is said to be in checkmate, resulting in a loss for that player. A player cannot make any move that places their own king in check. Despite this, the king can become a strong offensive piece in the endgame or, rarely, the middlegame.
In algebraic notation, the king is abbreviated by the letter K among English speakers. The white king starts the game on e1; the black king starts on e8. Unlike all other pieces, each player can have only one king, and the kings are never removed from the board during the game.
Representations
System
Representation (click value to copy)
Nº
9812
UTF-8
E2 99 94
UTF-16
26 54
UTF-32
00 00 26 54
URL-Quoted
%E2%99%94
HTML hex reference
♔
Wrong windows-1252 Mojibake
â™”
Encoding: GB18030 (hex bytes)
81 37 AA 36
RFC 5137
\u'2654'
Bash and Zsh inside echo -e
\u2654
C and C++
\u2654
C#
\u2654
CSS
\002654
Excel
=UNICHAR(9812)
Go
\u2654
JavaScript
\u2654
Modern JavaScript since ES6
\u{2654}
JSON
\u2654
Java
\u2654
Lua
\u{2654}
Matlab
char(9812)
Perl
"\x{2654}"
PHP
\u{2654}
PostgreSQL
U&'\2654'
PowerShell
`u{2654}
Python
\u2654
Ruby
\u{2654}
Rust
\u{2654}
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.)