Changed the SongLoader to handle UTF-8 Strings properly.

This commit is contained in:
mephasor committed 2014-10-17 13:53:11 -03:00
1 parent 9e5e482265
commit 8e0f4b60d6
1 file changed
+2
+2
View File
@@ -140,6 +140,8 @@ namespace VocaluxeLib.Songs
continue;
}
string value = line.Substring(pos + 1).Trim();
byte[] bytes = Encoding.Default.GetBytes(value);
value = Encoding.UTF8.GetString(bytes);
if (value == "")
{