サーバー上のsshとかgitでperlのLANG系エラーが出る時の対処法
gitからだとこんなエラー。めっちゃうざいよね。
remote: perl: warning: Setting locale failed. remote: perl: warning: Please check that your locale settings: remote: LANGUAGE = (unset), remote: LC_ALL = (unset), remote: LANG = "ja_JP.UTF-8" remote: are supported and installed on your system. remote: perl: warning: Falling back to the standard locale ("C").
サーバー側の sshd_config を編集して
AcceptEnv LANG LC_*
をコメントアウトしてSSHサーバーを再起動すればOK。