I have a problem with non-ASCII characters in the Terminal on Mac. If I write:
echo ÆØÅ
Then press Enter, Arrow Up, Arrow Left, so the cursor is between the Ø and the Å, then write X, then the Å is converted to ?, and if I press Enter, the following is echoed:
ÆØ?X?
Pressing Ctrl+A and Ctrl+E with non-ASCII characters entered also causes a mess.
My settings are as follows:
~/.profile:
export LC_ALL="nb_NO.UTF-8"
~/.inputrc:
set input-meta on
set output-meta on
set convert-meta off
Terminal > Settings > Advanced > Declare terminal as: xterm
Unsetting LC_ALL has no effect. Changing the .inputrc settings just seems to make things worse.
I really hope someone has the answer to this.
bash? Older versions ofbashdidn't support editing UTF8 text very wellnb_NO.UTF-8is a valid locale name on your system? Does it show up in the output oflocale -a? What doeslocale charmaptell you?