I have this annoying problem since long. I use to type quite fast, and it happens to me that after inserting a special character using the "alt" key I probably do not wait enough to press the space bar. I don't see the difference then, but then when the command is interpreted in the terminal, or the script I just wrote is executed, lots of errors come up because there are hidden strange characters (gremlins). Is there any way I can avoid this?
MacOS – Typing too fast, strange hidden characters
internationalizationkeyboardmacosshortcut
Related Question
- MacOS – Issue when typing some characters in OS X El Capitain
- MacOS – Terminal – Weird spaces included when typing fast
- Mac – How to disable context menu key from Windows Keyboard
- MacOS – Terminal gives :command not found, when typing too fast
- Strange characters in APPLE Software License Agreement
- Get french accent on Linux terminal connected via ssh from MacOS High Sierra
- External keyboard inserting characters when typing fast
- Why is typing so strange in terminals
Best Answer
Your option + space combination defaults to a non-breaking space and several options to remove that binding exist.
Whether you choose to show invisible characters in your editor to manually proof for these issues or use a lint type tool or change the behavior of the system depends on whether you can avoid typing that combination after knowing it exists.