bash warning setlocale LC_CTYPE cannot change locale

OS: ubuntu 12.10

问题

bash: warning: setlocale: LC_CTYPE: cannot change locale

解决

在/etc/profile中加入下行:

export  LC_ALL= C