codec_mp3: broken id3 tags due to id3lib bad handling of UTF-16
While making some changes to id3lib and testing them with Kwave, I noticed that the mp3 tagging is broken. Went back and tested with Debian's Kwave (v22.12.3) using the packaged id3lib (v3.8.3) and it's still there.
Digging in deeper, seems that id3lib compiles without iconv support and does its own mbs-to-wc job (terribly). This is a draft patch (more of an RFC really) to attempt to pass text encoded in UTF-16BE and convert it back when decoding. Tested on a limited number of files and checked with EasyTag, exiftool and id3info and it seems to be consistent.
Could you please check if you can reproduce the issue with codec_mp3 separately?
This patch is more to confirm issue and fix rather than ready to merge.
0001-Fix-blank-id3-tag-for-mp3-files-due-to-broken-id3lib.patch