https://bugs.winehq.org/show_bug.cgi?id=36854
--- Comment #24 from Karol Herbst wine@karolherbst.de --- currently I try to understand the ToUnicodeEx function a bit more:
example ^^: IN ^ OUT -1 "^" IN ^ OUT 1 "^" (though windows prints ^^)
example ^a: IN ^ OUT -1 "^" IN a OUT 1 "â"
example ^p: IN ^ OUT -1 "^" IN p OUT 2 "^p"
I have some questions here: 1. should the first call produce a "^" translation? If not, are there special characters, which should be used for X11? 2. should in the ^p example the second call return "^p", if the first question answer is yes?
For me 1. is special dead-key character should be written if there are any and 2. is yes.
In the first version I would only care about the first example and use the third one also for ^a (this can be changed later I guess).