From: rsjtdrjgfuzkfg Date: Fri, 18 Jan 2013 16:21:35 +0000 (+0100) Subject: Create UTF8-Lyrics per default. X-Git-Tag: v1.9~84^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=077208d17afe91014364a1fb923951f8357c33ae;p=taglib Create UTF8-Lyrics per default. --- diff --git a/taglib/mpeg/id3v2/id3v2frame.cpp b/taglib/mpeg/id3v2/id3v2frame.cpp index 1079785d..4fad5f1e 100644 --- a/taglib/mpeg/id3v2/id3v2frame.cpp +++ b/taglib/mpeg/id3v2/id3v2frame.cpp @@ -129,7 +129,7 @@ Frame *Frame::createTextualFrame(const String &key, const StringList &values) // // now we check if it's one of the "special" cases: // -LYRICS: depending on the number of values, use USLT or TXXX (with description=LYRICS) if((key == "LYRICS" || key.startsWith(lyricsPrefix)) && values.size() == 1){ - UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame(); + UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame(String::UTF8); frame->setDescription(key == "LYRICS" ? key : key.substr(lyricsPrefix.size())); frame->setText(values.front()); return frame;