- Home /
Non-ASCII characters in Input.inputString in OSX
I'm trying to catch user input, including non-ascii characters, such as the nordic æøå characters. On windows Input.inputString returns those characters (even though the documentation says only ASCII characters are returned. On OSX, however, inputString fails to return non-ASCII characters.
Is there another way of getting characters from keypresses that will work for non-ascii characters as well?
Have you found an answer to this? I am running into the same problem right now.
again, I'm facing the same issue too. any answer to this?
Same issue with Linux. Unity 4.5.5p4, Input.inputString on Windows seems to accept anything, Linux and $$anonymous$$acOS (latter one untested but according to reports that's just the same) it does only accept ASCII as per the documentation states.
Practically that makes Input.inputString rather useless :( GUI.TextField does work fine with non-ASCII though but they use Unity Events internally ins$$anonymous$$d of Input.inputString.
Your answer
Follow this Question
Related Questions
Input problem on non-english localization of Mac OS 2 Answers
is there any way to change input language type using script (on ios,android,mac,pc)? 0 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Input.inputString on iOS - Empty? 0 Answers
Why the new Input System doesn't work for me anymore ? 0 Answers