Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode support. #214

Closed
axhan opened this issue Jul 29, 2018 · 3 comments
Closed

Unicode support. #214

axhan opened this issue Jul 29, 2018 · 3 comments

Comments

@axhan
Copy link

axhan commented Jul 29, 2018

Related to #193. At first glance, scrcpy is THE application that would finally make touchscreen pocket computers (i.e. smartphones) anything other than annoying toys to slowly mistype on for me. However: The method you use for sending text input from computer to android gadget makes use of ADBs builtin string injection primitives, which seem to be limited to UTF-7. Hence, language use when typing is limited to ASCII, which means it's in practise really only usable for English, not much else. Especially not Swedish, since the letter "å" cannot be worked around in the code by using a combination of a diacritical dead key with "a".

I realize adding support for Unicode input would almost certainly necessitate pushing some kind of injector app onto the Android thingy. Some kind of... fake keyboard app. I know too little of Android to speculate. So you may not want to implement it. It would be great if you did, though.

Moreover, I consider that whoever made the design decision in Android to limit "adb shell input text" to UTF-7 should be crucified. But that's neither here nor there... :-)

@guanzhangrtk
Copy link

Any update regarding this? It would be great if we can copy & paste Asian text via scrcpy as well. Great work BTW!

@rom1v
Copy link
Collaborator

rom1v commented Apr 9, 2020

Closing as duplicate of #37.

@rom1v rom1v closed this as completed Apr 9, 2020
@rom1v
Copy link
Collaborator

rom1v commented May 25, 2020

Please test #1426 (works on Android >= 7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants