When I erroneously type 'ñ' (expecting to type any command) and then remove it and type the correct letter, the output returns the command with a special character attached �, obviously the shell don't recognize the command and I must re-type it being careful not to type again the 'ñ' character.
e.g.
Wrong typing @tachomi:~$ ñs
Correct typing @tachomi:~$ ls
Output �ls: command not found
- Why is this happening since I removed the wrong character?
- How can I solve this?
What I think is that this kind of characters ñ , ' etc are not compatible with the shell being this the reason that the "memory" keeps something that it doesn't recognize, but I want to be sure why is this happening.
I'm using bash shell
bash: $'\303\261s': command not found, butlscontinues to work normally. You might want to experiment with the builtinhashcommand:hash -landhash -rñis a two-bytes char, so you must have the terminal ignoring it. Which terminal are you using? How is LANG set?xtermandgnome-terminaland it works as expected, ([BackSpace] wipes ñ) but my lang isen_GB.UTF-8, so if you can reproduce this, could you test this by pressing [BackSpace] twice? Once for the first byte of the unicode character and once for the second???