TGE 1.4 Unicode IME Problem
by Steven Chiu · in Torque Game Engine · 11/27/2005 (9:53 am) · 8 replies
After starting the mission of the fps example and input some chinese in the Player Name textEdit gui, I can see the character show up no problem(the order is reversed...).
But when the mission launched, I found that the IME is disabled and cannot input any chinese character in the game! Any clue for this?
BTW I've fixed the input characters' order reversed problem, if necessary I can post the fixed code.
But when the mission launched, I found that the IME is disabled and cannot input any chinese character in the game! Any clue for this?
BTW I've fixed the input characters' order reversed problem, if necessary I can post the fixed code.
#2
Steven
11/27/2005 (6:48 pm)
The TextEdit gui already enable the keyboard translation in the onWake call but the IME still not available.Steven
#3
11/27/2005 (7:25 pm)
EnableKeyboardTranslation is what toggles the IME... maybe DirectInput is stealing focus away from it in game?
#4
11/27/2005 (8:37 pm)
I think the DirectInput does not steal the focus cause I still can input ascii characters.
#5
11/27/2005 (10:28 pm)
But are the characters being returned via DirectInput or WM_CHAR events? :)
#6
Steven
11/28/2005 (11:46 am)
Ok, the problem been fixed finally for the new Phonetic IME! I'll check for the other IME and post the fixed code.Steven
#7
03/20/2006 (10:21 pm)
Steven Chiu,Could you post your fixed code?The Unicode in TGE 1.4 still has problem.
#8
03/21/2006 (7:49 am)
Been very busy recently! For the upcoming TGE 1.4.2, my plan is to send my fixed code to Ben and it covers more files than I think before. I hope this can happen before the end of this month.
Associate Kyle Carter
It should be the case that if you bring up the console or the chat window in game, it allows you to enter chinese characters. The IME is only activated when keyboard translation is enabled via enableKeyboardTranslation().