Cannot input UTF-8 character in Unity Editor
7 years 9 months ago - 7 years 9 months ago #2100
by JOY
Cannot input UTF-8 character in Unity Editor was created by JOY
Hi,
I cannot input the Vietnamese (UTF-8 ) in the text field of I2 Localization of Unity.
goo.gl/pfHAfU
The plugin load the text correctly from Google Sheet but if I input a new one, it will show incorrect characters.
Thanks,
Anh
I cannot input the Vietnamese (UTF-8 ) in the text field of I2 Localization of Unity.
goo.gl/pfHAfU
The plugin load the text correctly from Google Sheet but if I input a new one, it will show incorrect characters.
Thanks,
Anh
Last edit: 7 years 9 months ago by JOY.
Please Log in or Create an account to join the conversation.
7 years 9 months ago #2101
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Cannot input UTF-8 character in Unity Editor
Hi,
Can you post here the text you are using? I tried several texts (from google translate) and they all copy/paste fine into the text fields.
Also, to help me reproduce this issue better:
- What unity are you using (Unity 5.4, 5.5, etc?)
- What I2 Localization are you using (v2.6.10b3?)
- What computer type are using (Windows, Mac?)
- What's your computer/keyboard language?
- If you paste or type the text in any other textField of unity, does it shows wrong as well?
I will try reproducing that same scenario. But my guess its related to your keyboard type and the font that unity uses in the editor.
Can you post here the text you are using? I tried several texts (from google translate) and they all copy/paste fine into the text fields.
Also, to help me reproduce this issue better:
- What unity are you using (Unity 5.4, 5.5, etc?)
- What I2 Localization are you using (v2.6.10b3?)
- What computer type are using (Windows, Mac?)
- What's your computer/keyboard language?
- If you paste or type the text in any other textField of unity, does it shows wrong as well?
I will try reproducing that same scenario. But my guess its related to your keyboard type and the font that unity uses in the editor.
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
7 years 9 months ago #2102
by JOY
Replied by JOY on topic Cannot input UTF-8 character in Unity Editor
Hi,
I guess it was caused by Unity Editor font as well.
- What unity are you using: 5.3.7p2 (64-bit)
- What I2 Localization are you using: (2.6.10f1
- What computer type are using: Windows 10
- What's your computer/keyboard language? English US. I use a keyboard software to write Vietnamese: www.unikey.org/
- If you paste or type the text in any other textField of unity, does it shows wrong as well? Same issue
I guess it was caused by Unity Editor font as well.
- What unity are you using: 5.3.7p2 (64-bit)
- What I2 Localization are you using: (2.6.10f1
- What computer type are using: Windows 10
- What's your computer/keyboard language? English US. I use a keyboard software to write Vietnamese: www.unikey.org/
- If you paste or type the text in any other textField of unity, does it shows wrong as well? Same issue
Please Log in or Create an account to join the conversation.
7 years 8 months ago #2141
by JOY
Replied by JOY on topic Cannot input UTF-8 character in Unity Editor
Any update please?
Please Log in or Create an account to join the conversation.
7 years 8 months ago #2147
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Cannot input UTF-8 character in Unity Editor
Hi,
If I understood correctly, this is bug in the unity editor that the edit field doesn't support the keyboard you are using. I.e. typing your text in any other text field inside the editor display the text wrong as well. (e.g. typing the name of an Object in Vietnamese)
I'm not sure there is way to override the textfield behavior of unity, so, I don't see another way around it, other than either using a keyboard that its compatible with the Unity textfield or typing the translations in the Spreadsheet and then importing back to unity.
However, if you find a way to make the typing method you use to work in the unity editor, please, let me know and I will add a similar workaround to the I2 Localization editors.
Sorry,
Frank
If I understood correctly, this is bug in the unity editor that the edit field doesn't support the keyboard you are using. I.e. typing your text in any other text field inside the editor display the text wrong as well. (e.g. typing the name of an Object in Vietnamese)
I'm not sure there is way to override the textfield behavior of unity, so, I don't see another way around it, other than either using a keyboard that its compatible with the Unity textfield or typing the translations in the Spreadsheet and then importing back to unity.
However, if you find a way to make the typing method you use to work in the unity editor, please, let me know and I will add a similar workaround to the I2 Localization editors.
Sorry,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.227 seconds