用Mac终端连接SSH警告locale设置问题,-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
解决方法:
在Mac 用户目录.bash_profile里添加如下代码保存重开终端即可
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
用Mac终端连接SSH警告locale设置问题,-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
解决方法:
在Mac 用户目录.bash_profile里添加如下代码保存重开终端即可
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8