[Bug 42462] Crash when getting a non-utf8 presence status

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 28 11:33:38 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42462

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-11-28 02:33:38 PST ---
This would benefit from https://bugzilla.gnome.org/show_bug.cgi?id=610969 being
fixed. Maybe a GLib reviewer will notice that bug one day, or maybe based on
your experience of writing this patch you can give feedback on which of the
proposed features on that bug you would/wouldn't find useful...

+ g_string_append (result, "�");

I'm not sure how portable it is to have UTF-8 in our string constants: the
version in GLib is "\357\277\275" with a comment explaining that it's U+FFFD
REPLACEMENT CHARACTER.

Otherwise this looks fine.

-- 
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