Mengatasi Masalah LC_CTYPE: cannot change locale (UTF-8)

Singkat saja, jika anda mengalami masalah BASH berikut setelah menginstall server Linux maupun membuat user baru:

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)

Silakan tangani dengan mengedit file /etc/environment:

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8

Dan reboot.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: