TagReaderGME: Use UTF-16

This commit is contained in:
Jonas Kvinge 2022-08-21 00:36:06 +02:00
parent 5931077b08
commit e7b02cfb15
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ void GME::VGM::Read(const QFileInfo &file_info, spb::tagreader::SongMetadata *so
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
fileTagStream.setEncoding(QStringConverter::Utf16);
#else
fileTagStream.setCodec("UTF-8");
fileTagStream.setCodec("UTF-16");
#endif
QStringList strings = fileTagStream.readLine(0).split(QChar('\0'));
if (strings.count() < 10) return;