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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 8 03:05:02 PDT 2009


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2009-10-08 10:04:57 UTC ---
Sounds like a good idea to me. Chances of things breaking should be rather
small - after all we not only need a BOM at the beginning (containing values
which are not really used in 8-bit charsets) but also valid UTF-16 to the end
of the string. Even if the BOM is a false positive, what are the chances that
the rest of the string happens to be valid UTF-16 as well?


> +      case 0xFEF:
> +        c = "UTF-16BE";

Shouldn't this be 0xFEFF instead?

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