bcorrigan / Goat

Simply the world's greatest IRC bot.
4 stars 0 forks source link

«bc» i18n-ise tumblr #48

Open jgoat opened 11 years ago

jgoat commented 11 years ago

I searched for 究極の酒 - and tumblr module complained!

Traceback (most recent call last):
File "<script>", line 138, in processChannelMessage
File "/home/goat/goat/libpy/goatpy/tumblr.py", line 172, in gis_search
url = "https://ajax.googleapis.com/ajax/services/search/images?%s" % (
File "/usr/home/goat/goat/lib/jython.jar/Lib/urllib.py", line 1250, in urlencode
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
bcorrigan commented 11 years ago

Fixed I assume?

ghost commented 11 years ago

Actually it's failing silently now (which is an improvement) but I'd like to make it work properly with unicode.