Revert "Revert "Revert "Changed the SongLoader to handle UTF-8 Strings properly."""
This reverts commit 54a14d6395.
This commit is contained in:
1 parent
54a14d6395
commit
b4414cf08f
1 file changed
-2
@@ -140,8 +140,6 @@ 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