1

I'm ssh'ing into a remote server (using bash). Some commands (e.g. cp, rm, etc.) display quotations incorrectly:

$ rm ./test
rm: remove regular file ‘./test€™?

Why does it do this, and how can I fix it?

4

1 に答える 1

3
export LANG=C

問題は、ワークステーションにサーバー上の環境に渡されるローカライズされた LANG があるが、サーバーがそれを正しく理解していないことだと思います。

于 2013-08-27T04:09:15.670 に答える