Font depictions of Unicode chess symbols (in the same order as the table). 1st: DejaVu Sans; 2nd: FreeSerif; 3rd: Quivira; 4th: Pecita.
A screenshot of the GNU Chess program in graphic mode showing the chessboard with Unicode characters.
GNU Chess using Unicode chess characters to display a chess board in the terminal.

Chess symbols are part of Unicode. Instead of using images, one can represent chess pieces by characters that are defined in the Unicode character set. This makes it possible to:

In order to display or print these symbols, a device must have one or more fonts with good Unicode support installed, and the document (Web page, word processor document, etc.) it is displaying must use one of these fonts.[1]

Unicode version 12.0 has allocated a whole character block at 0x1FA00 for inclusion of extra chess piece representations. This standard points to several new characters being created in this block,[2]including rotated pieces and neutral (neither white nor black) pieces.

Unicode characters

In Unicode, chess symbols are in two groups:

The basic 12 chess pieces

Chess Symbols
Unicode.org chart (PDF)
NameSymbolCode pointHTML (decimal)HTML (hex)
white chess kingU+2654♔♔
white chess queenU+2655♕♕
white chess rookU+2656♖♖
white chess bishopU+2657♗♗
white chess knightU+2658♘♘
white chess pawnU+2659♙♙
black chess kingU+265A♚♚
black chess queenU+265B♛♛
black chess rookU+265C♜♜
black chess bishopU+265D♝♝
black chess knightU+265E♞♞
black chess pawnU+265F♟♟

Fairy chess pieces and xiangqi pieces

Chess Symbols[1][2]
Official Unicode Consortium code chart (PDF)
 0123456789ABCDEF
U+1FA0x 🨀 🨁 🨂 🨃 🨄 🨅 🨆 🨇 🨈 🨉 🨊 🨋 🨌 🨍 🨎 🨏
U+1FA1x 🨐 🨑 🨒 🨓 🨔 🨕 🨖 🨗 🨘 🨙 🨚 🨛 🨜 🨝 🨞 🨟
U+1FA2x 🨠 🨡 🨢 🨣 🨤 🨥 🨦 🨧 🨨 🨩 🨪 🨫 🨬 🨭 🨮 🨯
U+1FA3x 🨰 🨱 🨲 🨳 🨴 🨵 🨶 🨷 🨸 🨹 🨺 🨻 🨼 🨽 🨾 🨿
U+1FA4x 🩀 🩁 🩂 🩃 🩄 🩅 🩆 🩇 🩈 🩉 🩊 🩋 🩌 🩍 🩎 🩏
U+1FA5x 🩐 🩑 🩒 🩓
U+1FA6x 🩠 🩡 🩢 🩣 🩤 🩥 🩦 🩧 🩨 🩩 🩪 🩫 🩬 🩭
Notes
1.^ As of Unicode version 15.1
2.^ Grey areas indicate non-assigned code points

Chessboard using Unicode

8
7
6
5
4
3
2
1
a b c d e f g h

References

  1. "Test for Unicode support in Web browsers".
  2. "Chess Symbols" (PDF). unicode.org. Retrieved 21 August 2023.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.