Storagenerd

A place to put my thoughts….

How to fix “warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)”

If you are getting these kind of errors on your linux machine when you are trying to move from a directory to another:
warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)

You should add the following line in your ~/.bash_profile
export LC_CTYPE=$LANG

Leave a comment