-
DescriptionHi, I am using the Windows API ImmGetCompositionString to get the result of IMECompositionEnd. When I call ImmGetCompositionString, Microsoft IME returns "アイウエオ" but Google IME returns "アイ". What is the reason for this result? How can I get the same result as using Microsoft IME? This is very important to me, please take a look at this problem in your busy schedule, thank you! Expected behaviorHere is MS IME behavior Actual behaviorHere is Google IME behavior Version or commit-idGoogle IME 2.28.5050.0 EnvironmentWindows 10-22H2 Additional contextHere is the demo I used to reproduce this issue, it is based on winforms: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
What's exactly the steps you tried? I actually got
Most likely it's unrelated to this particular issue, but the following code would be a bit more accurate on how
|
Beta Was this translation helpful? Give feedback.
OK, I can finally reproduce the issue you described.
The short answer to your original question is that unfortunately there is no way to get the same result as MS-IME unless we change the behavior of Mozc / Google Japanese Input. The behavior would be much similar as long as you use the space key to convert text instead of the down arrow key. As long as the user always uses the space key to convert the text, the issue is less likely to happen.
The long answer is that when APIs like
ImmGetCompositionString
were defined, prefix match sugg…