Commit ab4fb7bd authored by Urs Fleisch's avatar Urs Fleisch
Browse files

change UTF-8 encoding to UTF-16 because UTF-8 is not supported for ID3v2.3

parent 903f0928
......@@ -1512,10 +1512,11 @@ void Mp3File::setId3v2Frame(ID3_Frame* id3Frame, const Frame& frame) const
case QVariant::UInt:
int intVal = fld.m_value.toInt();
if (fld.m_id == ID3FN_TEXTENC) {
if (intVal == ID3TE_UTF8) intVal = ID3TE_UTF16;
enc = static_cast<ID3_TextEnc>(intVal);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment