by

0

Fix macOS Terminal Error: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

Fix macOS Terminal Error: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

0

When we We authenticate on remote servers with the help of the application Terminal from macOS, after SSH authentication, we happen to receive the next error message:

warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

lc_ctype-error

The error is not serious and is not returned by the server to which we have authenticated. Is returned by maccos itself, trying to change the variables of encoding of the server we connected to.

How-To FIX : warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

In the application Terminal, we go to Preferences > Profiles > Advanced

change-terminal-settings

At the bottom of the tab “Advanced“, Debifatio the option “Set locale environment variables on startup“.
Close the entire terminal application, then reopen for the setting to be applied.

Fix macOS Terminal Error: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

You may also be interested in...

Leave a Reply

Your email address will not be published. Required fields are marked *