Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



        Hi Michael,
        
        My name is Jun Ma, i'm Xipeng's colleague, i'll take over the work to try my 
best implementation Chinese input.
        Thank you very much for your suggestions, that sounds great. Thank you for your work. We 
will try the javascript side to support IME.
        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.
        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?

        
        
        
        Best Regards,
        
        Jun Ma
         

         

        在 2016-03-16, Wed, 14:05:09 ,xipeng 写到:

        
                Hi Michael,
        
                 
        
                Thank you, that's great. We are trying to implement work javascript side. We 
hope to have good progress. 
        
                In addition, the future by my colleague Jun Ma  to communicate with you,she'll 
e-mail contact you later.
        
                Thanks for your help.
        
                 
        
                Best regards,
        
                Xipeng Song
                 
        
                在 2016-03-11, Fri, 17:32:29 ,Michael Meeks 写到:
        
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



         


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.