nengo / nengo-gui

Nengo interactive visualizer
Other
97 stars 38 forks source link

Unicode characters in the editor break Nengo GUI #830

Open Seanny123 opened 8 years ago

Seanny123 commented 8 years ago

If you paste the unicode character into the Nengo GUI, regardless of what you type after it or even if you try to delete, the Nengo GUI will not update, but will also not throw any error messages in the back-end or in JavaScript.

This appears to be true for any unicode character.

This issue was first brought to my attention via this forum post.

tbekolay commented 8 years ago

Is this true in Python 2 and 3? If just Python 2, then it might be possible to fix by forcing a UTF-8 encoding for all files. See https://www.python.org/dev/peps/pep-0263/

astoeckel commented 6 years ago

True for Python 3 as well. Using a German Keyboard at home, where it is very easy to accidentally type non-ASCII characters, this bug is really annoying. Assigning myself to this bug to look into the problem.