-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
ALT+183 gives ╖ (expected À) #1905
Comments
Are you using the |
According to https://www.alt-codes.net/ and other sources, ALT-183 is "╖". "À" is ALT-0192. Does that work for you? |
Yes, |
@AlexandreHT, I am not at all familar with Windows input event handling so someone else may be able to chime in with more experience. That said, it looks like Espanso uses GetKeyboardLayout on windows to get the input locale identifier. From the linked page, it appears that this is different to the keyboard layout id. I wonder if this is the source of the bug? |
It appears to be hard-coded here, but it looks as though there is provision for CP1252. |
Nice find smeech. Based on this Windows alt-codes table, it would seem your version of windows is using CP850. It looks like the alt-code synthesizer linked above should handle both CP1252 and CP437. |
According to smeech, solution is in "alt_code_synthesizer.rs", could be great define an option menu to select the right code page for each country or region. In my case ALT+155 should be ø and ALT+157 Ø for example. With espanso available return ¢ and ¥. For any reason I don't know, only in microsoft word works OK with my region alt codes in all other softwares work with espanso alt codes include microsoft excel, powerpoint, outlook. |
Describe the bug
When espanso runs, the special char for ALT+183 is
╖
(not expected). When espanso doesn't run, the special char for ALT+183 isÀ
(as expected)(cf. #988 (comment))
To Reproduce
Steps to reproduce the behavior:
1.type ALT + 183
Expected behavior
Special char
À
Screenshots
NA
Logs
Setup information
The text was updated successfully, but these errors were encountered: