HackerNewsAPI
HackerNewsAPI copied to clipboard
UnicodeEncodeError in my_test_bot.py
Hi,
While you get and try to print the story.title in my_test_bot.py. It gives following error. 'ascii' codec can't encode character u'\u2013' in position 9: ordinal not in range(128)
Solution seems to be : http://stackoverflow.com/questions/19232385/ascii-codec-cant-encode-character-u-u2013-in-position-9-ordinal-not-in-ran
I will send a pull request in a while.