I am working on a little euchre project for those of you who are familiar with that. I need suit symbols to identify the cards in my game. Unicode seems to be the best way of doing that.
I am using Eclipse for IDE developers coupled with a pydev module. It's running Python 3.0.
It should just be as simple as:
club = u"\u2663".encode('utf-8')
print(club)
My output is literally:
>>> b'\xe2\x99\xa3'
What am I missing?
u""syntax (which you shouldn't be using in the first place), so I doubt it's the exact version you have. Most likely it's 3.3.