scrcpy
scrcpy copied to clipboard
Accented letters not getting sent over from PC keyboard
Environment
- OS: Windows
- scrcpy version: 1.25
- installation method: Windows release
- device model: Motorola Moto G51 5G (XT2171-2)
- Android version: 12
Describe the bug
When mirroring my phone and typing through my PC keyboard, some accented characters will not get sent through to the phone.
Console prints out:
[server] WARN: Could not inject char <character key>
Examples include Croatian letters
- Š/š (u+0160/u+161)
- Đ/đ (u+0110 / u+111)
- Č/č (u+010c/u+010d)
- Ž/ž (u+017d/u+017e) Some other accented characters are sent over without issues (Ć/ć).
Same issue happens when I try writing in Serbian Cyrillic script, none of the letters get sent through, I get a console log, and a Latin variant of the letter is sent instead. E.g. if I type "Hi" as "Хи", I get "Hi" in the input box and the console prints
[server] WARN: Could not inject char u+0425
[server] WARN: Could not inject char u+0438
Same issue happens with Danish letters Å (u+00c5), å (u+00e5, Æ(u+00c6), æ (u+00e6), Ø (u+00d8), ø (u+00f8), and probably other scripts too.
Thank you for fixing this!
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#special-characters-do-not-work