Fix MacOS Terminal Error: warning: setlocale: LC_CTYPE: can not change local (UTF-8): no such file or directory

When we remote login server with the help of Terminal from MacOSAfter SSH AuthenticationHappen to receive next error message:

warning: setlocale: LC_CTYPE: can not change local (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 logged in. It is returned even MacOS who tried to change variables encoding server to which we connected.

How-To FIX: warning: setlocale: LC_CTYPE: can not change local (UTF-8): no such file or directory

In application Terminal, going to Preferences > Profiles > Advanced

change-terminal-settings

At the bottom of the tab "Advanced"Debifatio option"Local environment variables set on startup"
Close all Terminal application, then reopen for the setting to be applied.

Fix MacOS Terminal Error: warning: setlocale: LC_CTYPE: can not change local (UTF-8): no such file or directory

About the author

Stealth

Passionate about everything that means gadgets and IT, I write with pleasure stealthsettings.com from 2006 and I like to discover with you new things about computers and operating systems macOS, Linux, Windows, iOS and Android.

Leave a Comment