clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.73k stars 674 forks source link

fix encodings when creating TagLib items #7254

Open Ralino opened 1 year ago

Ralino commented 1 year ago

When given a std::string or a c-string, TagLib interprets it as Latin1 per default. Clementine uses utf8 however. While the function StdStringToTaglibString is used for most tags, it was not used when creating TagLib::StringList for other items. This lead to issue #7253

This PR fixes that.