Changed the SongLoader to handle UTF-8 Strings properly.
This commit is contained in:
1 parent
9e5e482265
commit
8e0f4b60d6
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