-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
Mac(OS X)のターミナルからLinux(Fedora)につなぐと,
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
のエラーが出ます.
ターミナルの言語設定があっていない感じですね.
locale をすると,他はen_US.UTF-8 なのに,LC_CTYPEだけUTF-8 になっています.
あと,LC-ALL が空ですね.
$ 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 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=
さくっと設定しちゃいましょう.
export LC_ALL=en_US.UTF-8
これで,LC_ALL だけでなくLC_CTYPE も変更されます.
コメントを残す