Comment 15 for bug 605543

Revision history for this message
Captain Chaos (launchpad-chaos) wrote :

Victory!

I managed to get Twitter working in Gwibber by changing the line 436 in /usr/lib/python2.6/sgmllib.py from:

            self.handle_data(replacement)

to:

            self.handle_data(unicode(replacement,'latin-1'))

I also deleted /usr/lib/python2.6/sgmllib.pyc. This is my first time ever doing something in Python, so I have no idea what the proper way of doing this would be, or whether this correctly fixes the bug. Hopefully a Python expert can pick it up from here.