Jump to content

Chess symbols in Unicode

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Tom.Reding (talk | contribs) at 02:20, 30 June 2016 (External links: Rem stub tag(s) (class = non-stub & non-list) using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

File:Chess symbols.PNG
Font depictions of Unicode chess symbols (in the same order as the table). Top: Arial Unicode MS font. Bottom: Tahoma font.

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

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

Unicode codepoints and HTML

Chess symbols are part of the Miscellaneous Symbols block.

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

Chessboard

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".
  • http://js1k.com/2010-first/demo/750 Playable chess in 1024 bytes of javascript. Entry in JS1k competition by Óscar Toledo G. Usage of Unicode Chess symbols enables a playable design and keep the code less than 1024 bytes.