Author Topic: Asian font and keyboard  (Read 5221 times)

budwiz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Asian font and keyboard
« on: April 25, 2013, 07:56:09 AM »
I have some issues with Asian language.
The issues are as follows:

1. When I make a language text file (using Localize) and paste the text in there (in asian) the text does not appear
    in labels.
    I tried to type in the keyboard stokes it takes to write the text instead,
    and it worked, BUT what a major pain to do this process..Any better solutions?

2. The input field does not accept asian keyboard (using iPhone to test), so when I write something in the input field it
    just gets deleted immediately (both in the NGUI input field and the input field on the iPhone keyboard).
    What is happening and how can I fix it, so it works?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Asian font and keyboard
« Reply #1 on: April 25, 2013, 01:00:17 PM »
The font you're using must have asian characters in it. Unless you export them yourself, you won't have them. Default fonts that come with NGUI don't have them.

budwiz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Asian font and keyboard
« Reply #2 on: April 25, 2013, 07:02:48 PM »
I have Asian font imported trough Font Maker.

When that said, I don't think any of these problems has anything to do with the font because:

For 1:
When I write "something in normal characters" using english keyboard like "just some text" in the language text file, the asian characters appear.
If I go to google translate and translate the text into asian, and then copy and paste the results into the text file, then it does NOT appear.

For 2:
When I use a english keyboard, the characters appear. To write something sensible I need to know which key on the keyboard to press (as I was using a asian keyboard) in order to get the right character, but it works.
If I however switch to asian keyboard, then suddenly nothing can get typed, meaning something gets typed BUT the input field is deleting everything I type (must be some check routine deleting whats typed).


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Asian font and keyboard
« Reply #3 on: April 25, 2013, 07:43:22 PM »

budwiz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Asian font and keyboard
« Reply #4 on: April 25, 2013, 08:02:35 PM »
No that did not work, nothing get typed.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Asian font and keyboard
« Reply #5 on: April 26, 2013, 12:31:16 PM »
Then I don't know what the issue is for you, because it works perfectly fine here with full IME support (ie: I type 'ni hao' and it converts it).

pig345

  • Guest
Re: Asian font and keyboard
« Reply #6 on: July 22, 2013, 01:01:51 AM »
In MacOSX,http://www.tasharen.com/ngui/cjk.html did not work。

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Asian font and keyboard
« Reply #7 on: July 22, 2013, 04:41:46 AM »
That's entirely possible. I think I built that web player before Unity even added IME support to OSX. I'm not sure if it was even added in the 3.X cycle. I vaguely remember there being some talk about fixing it in 4.X.