Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Duplicated string passed to the Input Field for Japanese IME

Discussion in 'UGUI & TextMesh Pro' started by bboydaisuke, Feb 27, 2017.

  1. bboydaisuke

    bboydaisuke

    Joined:
    Jun 14, 2014
    Posts:
    67
    Anyone knows solution for this problem?

    PROBLEM

    Duplicated string passed to the Input Field for Japanese IME.
    Problem occurs when you confirm the interpretation by click instead of hitting Enter.
    Other East Asian languages e.g. Chinese, Korean may be affected by this problem.
    Unity 5.4.1f1 has this problem.

    STEPS TO REPRO
    1. Create new scene and open in Unity Editor.
    2. Put an Input Field in the scene.
    3. Play in editor.
    4. Click Input Field.
    5. Switch Japanese IME to HIRAGANA mode.
    6. Put てすと then hit space to interpret it to テスト. Do NOT hit Enter to confirm.
    7. Click Input Field to confirm the interpretation.
    EXPECTED BEHAVIOR
    "テスト" is confirmed and put in the Input Field.

    ACTUAL RESULT
    "テストテスト" is set in the Input Field.

    NOTES
    Input.inputString passes duplicated string to Input Field on click.
     
    yc960 likes this.
  2. bboydaisuke

    bboydaisuke

    Joined:
    Jun 14, 2014
    Posts:
    67
  3. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    The above issue should be fixed in Unity 2018.4.