Source Guru

RSS, supybot and utf8

by Mez on Apr.15, 2007, under Geeky, Linux

So, it seems that the issues I’ve been having with Lethargy are because supybot is not by default utf8 compliant. Meaning that it wont pick up RSS feeds that are.

Zeth Green came up with the following solution

<+zeth> back up that file
<+zeth> sudo cp -a /usr/bin/supybot /root/
<+zeth> you see the line import sys
<+zeth> after that add these 2 line
<+zeth> reload(sys)
<+zeth> sys.setdefaultencoding(‘utf-8′)
<+zeth> then restart Lethargy and see what happens :-)

Well, it worked, now if only I could find the supybot bugtracker

<+zeth> that is why those Launchpad people have a point
<+zeth> One bugtracker to rule them all

I totally agree


1 Comment for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!