[Bug 688367] New: Some mojibake happens when chars encoded with local charset are save with ISO-8895-1 in an id3v2 text frame.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 14 23:56:29 PST 2012


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

           Summary: Some mojibake happens when chars encoded with local
                    charset are save with ISO-8895-1 in an id3v2 text
                    frame.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lance.w19 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=229025)
 View: https://bugzilla.gnome.org/attachment.cgi?id=229025
 Review: https://bugzilla.gnome.org/review?bug=688367&attachment=229025

try more to guess charset

I have a mp3 file with GBK chars saved with ISO-8895-1 in an id3v2 text frame.

I know currently gstreamer is trying to guess the original charset according
the current locale.

However there is a problem that if you locale is *.UTF-8, gstreamer regards
that the possible charset is just UTF-8. I think it can do more to guess the
possible charset with the prefix in *.UTF-8.

It might be that for example if current locale is zh_CN.UTF-8, gstreamer could
try zh_CN.GBK, zh_CN.GB2312 to guess the oirginal charset.

And I make a patch about this.

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