<div><p>
Hi Michael,<br />
<br />
My name is Jun Ma, i'm Xipeng's colleague, i'll take over the work to try my best implementation Chinese input.<br />
Thank you very much for your suggestions, that sounds great. Thank you for your work. We will try the javascript side to support IME.<br />
As far as i know, the javascript side should implemention something like composition events to get the "unicode string" produced by IME, and then send the string to server. If i understand wrong, please correct it, thank you.<br />
But i have a problem about the IME popup window, i don't know how to overlay it at the cursor point, could you give me some suggestions in detail?</p>
<p>
<br />
<br />
<br />
Best Regards,<br />
<br />
Jun Ma<br />
</p>
<p>
</p>
<p>
在 2016-03-16, Wed, 14:05:09 ,xipeng 写到:</p>
<div>
<p>
Hi Michael,</p>
<p>
</p>
<p>
<span id="result_box" lang="en"><span class="hps">Thank</span> <span class="hps">you</span><span>,</span> <span class="hps">that</span><span>'s great.</span> <span class="hps">We are trying to</span> implement <span class="hps">work</span> <span class="hps">javascript</span> <span class="hps">side</span><span>.</span> <span class="hps">We hope to have</span> <span class="hps">good progress</span><span>.</span> </span></p>
<p>
<span lang="en"><span class="hps">In addition,</span></span><span class="short_text" id="result_box" lang="en"><span class="hps"> the future</span></span><span id="result_box" lang="en"><span class="hps"> </span><span class="hps">by my colleague</span> <span class="hps">Jun </span><span id="result_box" lang="en"><span class="hps">Ma </span></span> <span class="hps">to communicate</span> <span class="hps">with you,</span></span><span id="result_box" lang="en"><span class="hps">she</span><span>'ll</span> <span class="hps">e-mail contact</span> <span class="hps">you</span> <span class="hps">later.</span></span></p>
<p>
<span lang="en"><span class="hps">Thanks for your help.</span></span></p>
<p>
</p>
<p>
Best regards,</p>
<p>
Xipeng Song<br />
</p>
<p>
在 2016-03-11, Fri, 17:32:29 ,Michael Meeks 写到:</p>
<pre>
Hi Xipeng Song,
On Thu, 2016-03-10 at 10:29 +0800, xipeng wrote:
> I suspect that the browser may support IME, just after switching
> Chinese input do not know how to obtain the return of the unicode
> code.
Sure - exactly; so - we need a way of injection not just key-codes into
the text - but full UTF-8 / unicode strings as produced by the IME. In
gtk+ language that's an IM commit - and the internal event is
SALEVENT_EXTTEXTINPUT - almost certainly we would want to simulate that
internally. Wrt. the IME popup windows, and so on I'd hope we can
overlay that in the browser at the cursor point.
> I imagine "Map.Keyboard.js" is the implementation of the event for
> the English/Western char input.
Right.
> We hope our efforts can bring some convenience to people's lives.
Sure - thanks for digging into this.
If you can get the javascript side to work nicely for you (with the IME
pieces) and give us a clean UTF-8 string - I'd be happy to implement the
"commit" piece on the protocol / server side.
Does that make sense ?
ATB,
Michael.
--
michael.meeks@collabora.com <><, Pseudo Engineer, itinerant idiot
</pre>
</div>
<p>
</p>
</div>