From 6ad80aeed5e61e427a8bf78d35f29d84e90f1f90 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 4 Mar 2009 21:33:56 +0100 Subject: [PATCH] write ID3v2 tags in utf8 --- src/tag_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp index 2ac238e7..7b6c4e25 100644 --- a/src/tag_editor.cpp +++ b/src/tag_editor.cpp @@ -995,7 +995,7 @@ void TagEditor::GetTagList(TagLib::StringList &list, const std::string &s) if (i) i++; size_t j = s.find(",", i); - list.append(s.substr(i, j-i)); + list.append(TagLib::String(s.substr(i, j-i), TagLib::String::UTF8)); } }