After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348913 - [id3v2mux] tagging utf-8 text may be converted to iso-8869-1
[id3v2mux] tagging utf-8 text may be converted to iso-8869-1
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 351405 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-27 09:49 UTC by Nguyen Thai Ngoc Duy
Modified: 2006-08-15 13:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Nguyen Thai Ngoc Duy 2006-07-27 09:49:30 UTC
According to id3v2frame.h, Tag::setTitle doens't attempt to change text encoding of the written frame. So if I have a ISO-8859-1 encoded tag and retag it a utf-8 string using rhythmbox, it will be converted lossly into iso-8859-1.
id3v2mux should change text encoding to utf-8 if necessary.
Comment 1 Tim-Philipp Müller 2006-07-27 11:27:49 UTC
This should be fixed already in -good CVS:

  2006-07-05  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/taglib/gstid3v2mux.cc:
          Make UTF-8 the default encoding when writing string
          tags (before, our UTF-8 strings would automatically
          be converted to ISO-8859-1 by taglib and written as
          ISO-8859-1 fields if that was possible).

        * tests/check/elements/id3v2mux.c: (utf8_string_in_buf),
        (test_taglib_id3mux_check_tag_buffer), (identity_cb),
        (test_taglib_id3mux_with_tags):
          Add test case that makes sure our UTF-8 strings have
          actually been written into the tag as UTF-8.


Please re-open if not.
Comment 2 Jonathan Matthew 2006-08-15 13:08:39 UTC
*** Bug 351405 has been marked as a duplicate of this bug. ***