This was in the right direction, but unfortunately, didn't fix it for me. What did, however, was this:
http://bookmarks.honewatson.com/2009...ttings-ubuntu/
EDIT:
Further investigation shows the fix in my case was even easier than I thought, before:
Code:
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
So I set LC_TYPE and LC_ALL manually like so:
Code:
$ export LC_TYPE="en_US.UTF-8"
$ export LC_ALL="en_US.UTF-8"
The result is a fix:
Code:
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
SECOND EDIT:
.. Unfortunately, the above 'solution' only worked for that terminal session. As soon as I reconnected, locale errors rained down on me again..
Delving furhter into this issue, I came across:
http://stackoverflow.com/questions/2...ning-from-perl
What permanently fixed it for me is commenting out the following directive in my /etc/ssh/sshd_config (on the remote host):
Code:
AcceptEnv LANG LC_*
Having eliminated that line, and reloading my ssh daemon, this issue was resolved.
Bookmarks