[gstreamer-bugs] [Bug 597786] New: [tag] enhance gst_tag_freeform_string_to_utf8 to handle 16-bit Unicode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 8 02:47:53 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597786
  GStreamer | gst-plugins-base | git

           Summary: [tag] enhance gst_tag_freeform_string_to_utf8 to
                    handle 16-bit Unicode
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: manauw at skynet.be
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=145024)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=145024)
Check for and use UTF-16 byte-order-mark

Attached patch checks passed string for a byte-order-mark at the start, which
is a standard way to indicate 16-bit Unicode data (in BE or LE).

On the one hand, it seems to make sense to check for a standard encoding after
checking for another standard one (utf8) and before sort-of guessing encoding
based upon environment variables.  In particular, some tag formats explicitly
define such possible encoding (e.g. 3GPP tags).

On the other hand, it might be commented that it 'breaks' ABI/API as
conversions that previously failed (or produced garbled stuff) now succeed.

-- 
Configure bugmail: https://bugzilla.gnome.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 Gstreamer-bugs mailing list