[Bug 34659] New: add an utility function for converting maybe-valid into valid utf8 strings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 24 13:26:49 CET 2011


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

           Summary: add an utility function for converting maybe-valid
                    into valid utf8 strings
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: senko at senko.net
         QAContact: telepathy-bugs at lists.freedesktop.org


Applications taking data that's supposed to be UTF8 from outside, and passing
around to other components in DBus need to validate the data so they're sure
they're passing valid UTF8.

There's an utility function to do so in glib, but at the moment it's not
publicly visible, and there are some ambiguities over how to model the public
API for it. See the discussion here:
  https://bugzilla.gnome.org/show_bug.cgi?id=610969

Until such a function is available to glib, we could add it to telepathy-glib.
Since both libraries are under LGPL, we can just copy the code verbatim, and
expose it.

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