On one system only I have the problem, that when I type the german letter "ö" over ssh, bash shows
(arg: 6)
instead of inserting the letter. I do not have the problem on other systems and running "dash" the letter shows up correctly.
Why does bash interpret the letter as some shortcut (probably alt+6)?
This even happens with an empty .bashrc on Debian bullseye.
Output of locale:
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
dpkg-reconfigure locales shows that de_DE.UTF-8 UTF-8 locales are generated, the environment is just configured to use C.
Pasting the locale output from my local system, which uses de_DE.UTF-8 for everything into the shell does not change the behavior.
I tested with rxvt-unicode and xterm and both show the problem.
öshould result in;when the keyboard layout is wrong. – allo Sep 16 '21 at 09:51echo ö | cat -v– Stéphane Chazelas Sep 16 '21 at 09:52LC_variables with UTF-8? – allo Sep 16 '21 at 09:54