[gstreamer-bugs] [Bug 499242] New: [patch] workaround the broken tags encoding for mp3 files

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 23 12:03:18 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=499242

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: [patch] workaround the broken tags encoding for mp3
                    files
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zeng.shixin at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


some idv2 tags of mp3 files are actually in local encoding, in spite that they
are declared to be "iso-8859-1", because of the ignorance of encoding, I think.
These files work fine on windows (I guess it's because windows doesn't convert
the encoding before showing these tags?)

Here's the patch to work around this problem, for tags declared in
"ISO-8859-1", try to use the value specified by the environment variable
"GST_ID3V1_TAG_ENCODING", "GST_ID3_TAG_ENCODING" or "GST_TAG_ENCODING" to
convert the strings to 'UTF-8'; if it fails, then try to use local charset, and
finally fallback to 'ISO-8859-1'.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=499242.




More information about the Gstreamer-bugs mailing list