Author Topic: UIInput doesn't work correct when Asian character is inputted.  (Read 2147 times)

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
UIInput doesn't work correct when Asian character is inputted.
« on: December 03, 2012, 09:49:25 PM »
Hi !
When I input Asian characters and control gets focus lost, last character is always missed.
For example, I input "유니티" and doesn't press enter and only press other control then it shows "유니".
This problem occurred in Windows editor and standalone.
Could you help me how can I fix it?

Thank you,
Adam.
« Last Edit: December 03, 2012, 09:51:13 PM by adam718 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput doesn't work correct when Asian character is inputted.
« Reply #1 on: December 04, 2012, 02:53:47 AM »
You might have to debug this one. I'm currently at the airport waiting on a flight. (heading to Unity HQ again atm).

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: UIInput doesn't work correct when Asian character is inputted.
« Reply #2 on: December 04, 2012, 10:08:54 PM »
Hi Aren.
Sorry, I want you to look my problem when you are free.
I debugged it and when a UIInput lost focus, last character of string was missing and Input.compositionString was also set empty.
But When UIInput lost focus by Enter, it isn't.
So weired.

Anyway I want you to have a success on your trip.