You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by ohsowhitty <ma...@visionslive.com> on 2019/07/09 17:41:51 UTC

How does the Flex (spark.components.TextArea) IME work for Chinese?

One of the users of our Flex app is Chinese and they wrote with a complaint
that they couldn't enter text phonetically. I installed Simplified Chinese
on my Windows and switched to it as an input language. I can't reproduce
their problem, but I encounter a mild problem/difference in the Flex
TextArea behavior compared to any other text box in windows. 

If, for example, I type "ni" into any other textbox (such as the browser
address bar) then a floating menu appears with 7 different symbols. I can
then press a number to choose that symbol. 

In the Flex TextArea component, if I type "ni" then it gains a sort of
broken underline, but there isn't a floating dropdown/suggestions panel - it
will simply replace my "ni" with "拟" when I press space. I don't find any
way to vary the symbol entered unlike the menu presented if I type "ni" into
the browser address bar. Right now I observe that whatever symbol I chose
elsewhere (in the browser address bar for example) becomes the character at
position 1 (so it's behaving like a most recently used list) and that
becomes the character that will be inserted into the TextArea when the user
presses space

Note, that I'm not Chinese, don't know pinyin so this post may be a question
rooted in ignorance of phonetic Chinese text entry

My question is; is the TextArea behaving correctly? Should there be some
sort of dropdown menu that shows possible symbols or does TextArea behave
differently and is not designed to show a menu? How does the writer insert
different symbols with similar pronunciation?

Ultimately I need to go back to the client with something like "It works,
just make sure you have a chinese IME installed, and active - and note that
it won't show you several options if you just type something ambiguous like
"ni" - you'll have to type the full phonetic word e.g. nia, nic, nit, and
then press space"

Thanks for the assist!




--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Re: How does the Flex (spark.components.TextArea) IME work for Chinese?

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi,

It's been a long time since I had to deal with this, but IIRC (and after taking a quick look at the code), what you are seeing for Spark TextArea is a "feature" called inline IME.  I think that was supposed to be better than having the IME open and close.  I think it worked fine in Japanese where typing something like my last name was more efficient because the IME didn't show up.

See: https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/ime/IIMEClient.html

FWIW, I recently saw an email describing some problems with FireFox and Chinese IME.  We'd probably need more detail from the users as to what they are experiencing.

HTH,
-Alex

On 7/9/19, 10:42 AM, "ohsowhitty" <ma...@visionslive.com> wrote:

    One of the users of our Flex app is Chinese and they wrote with a complaint
    that they couldn't enter text phonetically. I installed Simplified Chinese
    on my Windows and switched to it as an input language. I can't reproduce
    their problem, but I encounter a mild problem/difference in the Flex
    TextArea behavior compared to any other text box in windows. 
    
    If, for example, I type "ni" into any other textbox (such as the browser
    address bar) then a floating menu appears with 7 different symbols. I can
    then press a number to choose that symbol. 
    
    In the Flex TextArea component, if I type "ni" then it gains a sort of
    broken underline, but there isn't a floating dropdown/suggestions panel - it
    will simply replace my "ni" with "拟" when I press space. I don't find any
    way to vary the symbol entered unlike the menu presented if I type "ni" into
    the browser address bar. Right now I observe that whatever symbol I chose
    elsewhere (in the browser address bar for example) becomes the character at
    position 1 (so it's behaving like a most recently used list) and that
    becomes the character that will be inserted into the TextArea when the user
    presses space
    
    Note, that I'm not Chinese, don't know pinyin so this post may be a question
    rooted in ignorance of phonetic Chinese text entry
    
    My question is; is the TextArea behaving correctly? Should there be some
    sort of dropdown menu that shows possible symbols or does TextArea behave
    differently and is not designed to show a menu? How does the writer insert
    different symbols with similar pronunciation?
    
    Ultimately I need to go back to the client with something like "It works,
    just make sure you have a chinese IME installed, and active - and note that
    it won't show you several options if you just type something ambiguous like
    "ni" - you'll have to type the full phonetic word e.g. nia, nic, nit, and
    then press space"
    
    Thanks for the assist!
    
    
    
    
    --
    Sent from: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C21aee93e02064f1ead1208d70494c28c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636982909310830782&amp;sdata=%2BdpWaBOobxDwFGhXTSmDMYWBz1HkEHNlpXg3mobOtF8%3D&amp;reserved=0