pynput icon indicating copy to clipboard operation
pynput copied to clipboard

wirte chinese show question mark.

Open kyzrong opened this issue 2 years ago • 1 comments

I use the pynput library to simulate keyboard input, found that some software (mostly) input Chinese, show normal, but there are individual software input Chinese, but show a question mark.

https://user-images.githubusercontent.com/49386775/132176845-025b234b-00e7-4f4e-8db9-d3c0b3479a4a.mp4

kyzrong avatar Sep 06 '21 07:09 kyzrong

Thank you for your report.

Does typing Chinese characters normally work in these application? Could it be caused by them not sporting a font that supports Chinese characters?

You might be able to test the latter hypothesis by using pynput to type a text into one of the applications, then marking the text and copying it, and finally pasting into an application that actually works. If you get the expected text, this is probably caused by a font issue.

moses-palmer avatar Sep 23 '21 16:09 moses-palmer