[CentOS] cannot change locale (UTF 8) - dejurin/blog GitHub Wiki
If you get the following error:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
please open the file /etc/environment and add the lines below:
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
Restart your VPS for changes to apply.