Skip to content

Commit

Permalink
Add a comment about card suit symbols.
Browse files Browse the repository at this point in the history
avian2 committed Jan 16, 2024
1 parent 22d2574 commit 42e9976
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions unidecode/x026.py
Original file line number Diff line number Diff line change
@@ -95,6 +95,12 @@
'black bishop', # 0x5d
'black knight', # 0x5e
'black pawn', # 0x5f

# Unicode standard doesn't give an explanation why card suits exist in black
# and white variants. Adding "white ..." and "black ..." here isn't useful
# since both variants can be used for either red or black suit color.
#
# See discussion at https://github.com/avian2/unidecode/pull/93
'spades', # 0x60
'hearts', # 0x61
'diamonds', # 0x62

0 comments on commit 42e9976

Please sign in to comment.