Chess symbols in Unicode

From Wikipedia, the free encyclopedia
Jump to: navigation, search
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]

[edit] Unicode codepoints and HTML

Chess symbols are part of the Miscellaneous Symbols block.

Chess Symbols
Unicode.org chart (PDF)
Name Symbol Codepoint HTML
white chess king U+2654 ♔
white chess queen U+2655 ♕
white chess rook U+2656 ♖
white chess bishop U+2657 ♗
white chess knight U+2658 ♘
white chess pawn U+2659 ♙
black chess king U+265A ♚
black chess queen U+265B ♛
black chess rook U+265C ♜
black chess bishop U+265D ♝
black chess knight U+265E ♞
black chess pawn U+265F ♟

[edit] References

  1. ^ "Test for Unicode support in Web browsers". http://www.alanwood.net/unicode/miscellaneous_symbols.html. 
Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages