mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #8905 from JosJuice/jni-encoding
Android: Use correct encoding when converting strings
This commit is contained in:
@ -38,7 +38,7 @@ std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device)
|
||||
std::string result;
|
||||
if (SUCCEEDED(device->GetProperty(DIPROP_PRODUCTNAME, &str.diph)))
|
||||
{
|
||||
result = StripSpaces(UTF16ToUTF8(str.wsz));
|
||||
result = StripSpaces(WStringToUTF8(str.wsz));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user