atx / wtype

xdotool type for wayland
MIT License
347 stars 13 forks source link

Incorrect greek characters #32

Closed schauveau closed 2 years ago

schauveau commented 2 years ago

I noticed that wtype does not properly handle some characters of the greek plane (and probably others). Most of them are fine but a few are converted to a different UTF character. Here are a few examples

I tried multiple Wayland applications (foot, Firefox, emacs-pgtk, wev) so that does not seem to be related to the client.

I used the following bash command to test individual characters in the terminal.

(bash) c=$'\u03C0' ; echo "==> '$c'" ; echo "$c" | hexdump -C ;  wtype "$c" -k return -M ctrl d ; hexdump -C
==> 'π'
00000000  cf 80 0a                                          |...| 
00000003 
Ā
00000000  c4 80 0a                                          |...|
00000003

System information:

atx commented 2 years ago

This has been fixed in 33b8942, but since I have not tagged a new release since then, it has not made its way to distributions. Fixed by releasing v0.4