Skip to content

Instantly share code, notes, and snippets.

@ideawu
Created December 18, 2020 09:22
Show Gist options
  • Save ideawu/cd195f202fc395ad5bc158d2c05e0dde to your computer and use it in GitHub Desktop.
Save ideawu/cd195f202fc395ad5bc158d2c05e0dde to your computer and use it in GitHub Desktop.
解决 Mac 终端远程 SSH 报错 LC_CTYPE
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

修改 Mac 的 .bash_profile

export LC_ALL="en_US.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment