Revert "Revert "Changed the SongLoader to handle UTF-8 Strings properly.""
This reverts commit 20fce69585.
This commit is contained in:
1 parent
20fce69585
commit
54a14d6395
1 file changed
+2
@@ -140,6 +140,8 @@ namespace VocaluxeLib.Songs
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
string value = line.Substring(pos + 1).Trim();
|
string value = line.Substring(pos + 1).Trim();
|
||||||
|
byte[] bytes = Encoding.Default.GetBytes(value);
|
||||||
|
value = Encoding.UTF8.GetString(bytes);
|
||||||
|
|
||||||
if (value == "")
|
if (value == "")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user