I'd like to be able to render the characters as seen in this tweet:
I saved the tweet's JSON data and wrote a one-liner python script for testing.
python -c 'import json,urllib; print json.load(urllib.urlopen("http://c.sente.cc/BUCq/tweet.json"))["text"]'
This next image shows the output of this command on two different putty sessions, one with Bitstream Vera Sans Mono
font and the other is using Courier New
:
Next is an example of correct output (I wasn't using PuTTY):
The original JSON is at this link using Twitter's API.
How can I get PuTTY to display those characters?
Bitstream Vera Sans Mono does not support the Chess Symbols section of UTF8. Courier New also does not currently support the Chess Symbols section of UTF8. You'll have to find a Unicode font that supports chess symbols.
Consider DejaVu Sans Mono which is Bitsream Vera Sans Mono, just with more unicode characters (including the chess symbols). FYI, these are the unicode Codepoints for the chess symbols which will make your search for a suitable font easier.
Once you have chosen a font you'll need to make sure that PuTTY itself is set to receive UTF-8 symbols: