[Bug 740784] subparse: fails to detect UTF-8 encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 28 16:22:37 PST 2014


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

--- Comment #5 from Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> 2014-11-29 00:22:36 UTC ---
+1 for the test addition but I don't think we should trim
NUL terminators elsewhere or at all TBH. Purpose of the
patch is just to pass g_utf8_validate() without having to
conditionally pass -1 for len to avoid the false negative.

My opinion is that changing behavior like trimming all NUL
terminators would, falls outside the scope of the small fix
and I'm actually rather unsure as to whether it wouldn't end
up breaking things elsewhere.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list