Audio device names is now shown correcly in the Audio Device combolist.

This commit is contained in:
Allan Greis Eriksen
2017-07-11 21:38:27 +02:00
committed by abcdefg30
parent 8f26b4e92b
commit 5435e34b9a

View File

@@ -81,7 +81,7 @@ namespace OpenRA.Platforms.Default
}
// A null indicates termination of that string, so add that to our list.
devices.Add(Encoding.Default.GetString(buffer.ToArray()));
devices.Add(Encoding.UTF8.GetString(buffer.ToArray()));
buffer.Clear();
// Two successive nulls indicates the end of the list.