fix reading UTF-8 lyrics
This commit is contained in:
@@ -43,6 +43,8 @@ bool LyricsLoader::LoadFromLRCFile(const CString& sPath, Song& out)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
utf8_remove_bom( line );
|
||||||
|
|
||||||
if(!line.compare(0, 2, "//"))
|
if(!line.compare(0, 2, "//"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user