jawerty/AlienFeed — pull request #23 by bictorman (2014-08-12 09:12:44+00:00)
Title: print UTF-8 text

Looks like UTF-8 content was not encoded before printing.
To reproduce: alienfeed de

alienfeed berlin
Top 10 /r/berlin links:
1 -> 13 Glasfaserkabel zerschnitten: 160.000 Berliner ohne Internet.
2 -> 2 Any good live music venues on a Monday night? [POST]
Traceback (most recent call last):
File "/usr/local/bin/alienfeed", line 9, in
load_entry_point('AlienFeed==0.3.2', 'console_scripts', 'alienfeed')()
File "/usr/local/bin/alien.py", line 229, in main
subreddit_viewer(subm_gen)
File "/usr/local/bin/alien.py", line 71, in subreddit_viewer
links = submission_getter(generator, verbose=True)
File "/usr/local/bin/alien.py", line 117, in submission_getter
print line
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 26: ordinal not in range(128)