[gstreamer-bugs] [Bug 351794] [id3demux] try harder to extract wrongly marked strings
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Aug 18 03:31:09 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=351794
GStreamer | gst-plugins-good | Ver: HEAD CVS
------- Comment #5 from Bastien Nocera 2006-08-18 10:30 UTC -------
Huh, not true.
If the string is already in valid UTF-8, but we the encoding given by the file
is broken, we try pass it as UTF-8:
if (enc && strcmp(enc, "UTF-8")) {
/* Don't bother converting if it's already in UTF-8, but the encoding
* is badly reported */
if (meta_info_validate_utf8(value)) {
meta_info_set_unlocked_utf8(stream, info, value);
return;
}
That seems to work in most cases. If it's not correct UTF-8, we then perform a
conversion using the encoding reported in the file.
--
Configure bugmail: http://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