Cannot enter Korean in any of the text fields

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Cannot enter Korean in any of the text fields

Post by urgood2 »

Warzone displays Korean in-game just fine. The problem is, when I change the input language to Korean, nothing will appear in the text fields(savegame name, skirmish game name, chat, etc).
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Cannot enter Korean in any of the text fields

Post by cybersphinx »

Hm, we have Chinese translations as well, though I don't remember if inputting that worked... Could be that SDL doesn't support IMEs, not sure.
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

cybersphinx wrote:Hm, we have Chinese translations as well, though I don't remember if inputting that worked... Could be that SDL doesn't support IMEs, not sure.
It seems that some text fields such as "Enter password here" that are originally in Korean are not functional at all...
EDIT: Never mind. I was looking at the skirmish password field, which is always disabled... In Multiplayer, it is functional, but I still cannot enter Korean...
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

Is there a version of SDL that supports IME?
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Cannot enter Korean in any of the text fields

Post by cybersphinx »

Uim on Linux works, no idea about other systems.
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

For now, then, in Windows only displaying Korean works, and inputting Korean does not.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Cannot enter Korean in any of the text fields

Post by Buginator »

urgood2 wrote:For now, then, in Windows only displaying Korean works, and inputting Korean does not.
Can you run the game with --debug input and post the logs ?

Thanks.
and it ends here.
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

Here are the logs. I did not play multiplayer, but skirmish. I think the normal log is the important one, and not the netlog.
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Cannot enter Korean in any of the text fields

Post by Buginator »

urgood2 wrote:Here are the logs. I did not play multiplayer, but skirmish. I think the normal log is the important one, and not the netlog.
Thanks, it looks like it can't find a suitable font glyph for : Couldn't retrieve a bounding box for the character code 50668 among the other ones, and it ends up being invalid, so the whole line is NULL instead.
Are you using the default dejavu font ?
Can you try another one that supports Korean, edit your config file, and change fontname=DejaVu Sans to whatever the other font file is and try that.

I am thinking perhaps Dejavu don't have all character glyphs or something.

Do --debug input again, and we only need the normal log.
and it ends here.
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

I tried using font Gulim, which supports Korean. Am afraid I still cannot enter korean.
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Cannot enter Korean in any of the text fields

Post by Buginator »

You wouldn't happen to know what the unicode codes are for "Warzone" in Korean is ?

I don't know another way to check besides hardcoding a string to that, and see what it is doing.
and it ends here.
urgood2
Trained
Trained
Posts: 83
Joined: 30 Jul 2010, 02:50
Location: South Korea

Re: Cannot enter Korean in any of the text fields

Post by urgood2 »

워존 = C6CC C874

I think that's it.. I looked up the unicode tables using the look-up utility.