[Bug 28747] [telepathy-butterfly 0.5.11-1~ppa10.04+1] telepathy-butterfly crashed with UnicodeDecodeError in _signal_text_received()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 26 13:50:13 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=28747
--- Comment #5 from Benjamín Valero Espinosa <benjavalero at gmail.com> 2010-07-26 04:50:11 PDT ---
(In reply to comment #4)
> Based on what you said, the problem is probably that dbus.String(sender_nick)
> is basically the same as unicode(sender_nick), which will fail if sender_nick
> is non-ASCII. Butterfly should be using sender_nick.decode('SOME-ENCODING')
> where SOME-ENCODING is whatever the protocol uses - hopefully UTF-8?
I thought that so, but also looked what the D-Bus signature means, and the
first letter "s" means "String" type, so I thought that maybe changing it to
"u" (Unicode type) will do the trick.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list