kristian / system-hook

Global Keyboard / Mouse Hook for Java applications.
MIT License
269 stars 48 forks source link

Accented characters do not work #45

Open edsonqr opened 4 years ago

edsonqr commented 4 years ago

While the hook is running, accented characters and quotation marks before words do not work. Example: ú ã "test"

BullyWiiPlaza commented 2 years ago

I have the same problem, is there anyone with a solution or @kristian? The C source code mentions this problem but seemingly does not solve it: https://github.com/kristian/system-hook/blob/master/src/main/native/windows/SystemHook.c#L86

kristian commented 2 years ago

@BullyWiiPlaza unfortunately I never found a simple solution for the accented characters issue... fixing it for one codepage broke it for another and vice-versa... Also I had much troubles reproducing this issue in the first place. If you provide me with a solution as a PR, I'd be happy to review it / set-up some test cases, otherwise I am afraid in not being able to dive into this again atm. Sorry. Thanks for reaching out though.