diff options
Diffstat (limited to 'ext/taglib/gstid3v2mux.cc')
-rw-r--r-- | ext/taglib/gstid3v2mux.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/taglib/gstid3v2mux.cc b/ext/taglib/gstid3v2mux.cc index 0a40d9e4..2f75b669 100644 --- a/ext/taglib/gstid3v2mux.cc +++ b/ext/taglib/gstid3v2mux.cc @@ -408,6 +408,10 @@ gst_id3v2_mux_render_tag (GstTagLibMux * mux, GstTagList * taglist) GstBuffer *buf; guint tag_size; + /* write all strings as UTF-8 by default */ + TagLib::ID3v2::FrameFactory::instance ()-> + setDefaultTextEncoding (TagLib::String::UTF8); + /* Render the tag */ gst_tag_list_foreach (taglist, add_one_tag, &id3v2tag); |